From: John Benediktsson Date: Mon, 3 Oct 2022 22:58:25 +0000 (-0700) Subject: regexp: fix \B docs X-Git-Tag: 0.99~1060 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=b3cda9ca5a4eb0c5fafa84c289794ed3f876f72f regexp: fix \B docs --- diff --git a/basis/regexp/regexp-docs.factor b/basis/regexp/regexp-docs.factor index 72f1ff54b9..fffc412975 100644 --- a/basis/regexp/regexp-docs.factor +++ b/basis/regexp/regexp-docs.factor @@ -90,7 +90,7 @@ ARTICLE: "regexp-syntax" "Regular expression syntax" { { $snippet "\\z" } "End of text" } { { $snippet "\\Z" } "Almost end of text: only thing after is newline" } { { $snippet "\\b" } "Word boundary (by Unicode word boundaries)" } - { { $snippet "\\b" } "Not word boundary (by Unicode word boundaries)" } } + { { $snippet "\\B" } "Not word boundary (by Unicode word boundaries)" } } { $heading "Greedy quantifiers" } "It is possible to have a regular expression which matches a variable number of occurrences of another regular expression." { $table