Modified:
doc/trunk/design/syn/S05.pod
Log:
word boundaries are defined in terms of \w, not \s
Modified: doc/trunk/design/syn/S05.pod
==============================================================================
--- doc/trunk/design/syn/S05.pod (original)
+++ doc/trunk/design/syn/S05.pod Wed Oct 18 13:57:40 2006
@@ -14,9 +14,9 @@
Maintainer: Patrick Michaud <pmic...@pobox.com> and
Larry Wall <la...@wall.org>
Date: 24 Jun 2002
- Last Modified: 12 Oct 2006
+ Last Modified: 18 Oct 2006
Number: 5
- Version: 39
+ Version: 40
This document summarizes Apocalypse 5, which is about the new regex
syntax. We now try to call them I<regex> rather than "regular
@@ -1008,8 +1008,8 @@
C<<< >> >>> token indicates a right word boundary. (As separate tokens,
these need not be balanced.) Perl 5's C<\b> is replaced by a C<< <?wb> >>
"word boundary" assertion, while C<\B> becomes C<< <!wb> >>. (None of
-these are dependent on the definition of C<< <ws> >>, but only on the C<\s>
-definition of whitespace.)
+these are dependent on the definition of C<< <ws> >>, but only on the C<\w>
+definition of "word" characters.)
item *