aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2011-01-30 13:41:05 -0500
committerRuss Cox <rsc@swtch.com>2011-01-30 13:41:05 -0500
commitf91f66eb6bc55c7de2f90b07738a80f4c86cae6b (patch)
tree7414af05891fc5a816112ec066b665b095baa818 /doc
parentc266689d35a62e31a44d25fff0f3d5f4b35917e1 (diff)
downloadregex-re2-f91f66eb6bc55c7de2f90b07738a80f4c86cae6b.tar.gz
doc: be more precise about \b
R=rsc CC=re2-dev http://codereview.appspot.com/4119045
Diffstat (limited to 'doc')
-rw-r--r--doc/syntax.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax.txt b/doc/syntax.txt
index 3e92cd6..43e7f6f 100644
--- a/doc/syntax.txt
+++ b/doc/syntax.txt
@@ -69,7 +69,7 @@ Empty strings:
^ at beginning of text or line («m»=true)
$ at end of text (like «\z» not «\Z») or line («m»=true)
\A at beginning of text
-\b at word boundary («\w» to left and «\W» to right or vice versa)
+\b at word boundary («\w» on one side and «\W», «\A», or «\z» on the other)
\B not a word boundary
\G at beginning of subtext being searched NOT SUPPORTED pcre
\G at end of last match NOT SUPPORTED perl