]> gitweb.factorcode.org Git - factor.git/commitdiff
regexp: fix \B docs
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Oct 2022 22:58:25 +0000 (15:58 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Oct 2022 22:58:42 +0000 (15:58 -0700)
basis/regexp/regexp-docs.factor

index 72f1ff54b9033b0d06c6250df6cd93a285d5759a..fffc4129751495f9793703640d4fdbb7e0f78b2a 100644 (file)
@@ -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