From b3cda9ca5a4eb0c5fafa84c289794ed3f876f72f Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Mon, 3 Oct 2022 15:58:25 -0700 Subject: [PATCH] regexp: fix \B docs --- basis/regexp/regexp-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1