9 Regular Expressions
本章是 [Sitaram05] 的修改版本。
regexp 值封装了一个由字符串或 byte string 描述的 模式。当调用 regexp-match 等函数时,regexp 匹配器尝试将此 模式与另一个字符串或字节串(我们称其为 文本字符串)的(部分) 内容进行匹配。文本字符串被视为原始文本,而非模式。
(part ("(lib scribblings/reference/reference.scrbl)" "regexp")) in (part ("(lib scribblings/reference/reference.scrbl)" "top")) provides more on regexps.