Author: audreyt
Date: Sat Jun  3 07:12:04 2006
New Revision: 9442

Modified:
   doc/trunk/design/syn/S05.pod

Log:
* At scw++'s request, add an explicit definition to the default <ws>:
    "\s+ if it's between two \w characters, \s* otherwise"

Modified: doc/trunk/design/syn/S05.pod
==============================================================================
--- doc/trunk/design/syn/S05.pod        (original)
+++ doc/trunk/design/syn/S05.pod        Sat Jun  3 07:12:04 2006
@@ -14,9 +14,9 @@
    Maintainer: Patrick Michaud <[EMAIL PROTECTED]> and
                Larry Wall <[EMAIL PROTECTED]>
    Date: 24 Jun 2002
-   Last Modified: 13 May 2006
+   Last Modified: 3 June 2006
    Number: 5
-   Version: 24
+   Version: 25
 
 This document summarizes Apocalypse 5, which is about the new regex
 syntax.  We now try to call them I<regex> because they haven't been
@@ -631,8 +631,10 @@
      / <before pattern> /    # was /(?=pattern)/
      / <after pattern> /     # was /(?<pattern)/
 
-     / <ws> /                # match whitespace by :s policy
      / <sp> /                # match the SPACE character (U+0020)
+     / <ws> /                # match "whitespace":
+                             #   \s+ if it's between two \w characters,
+                             #   \s* otherwise
 
      / <at($pos)> /          # match only at a particular StrPos
                             # short for <?{ .pos == $pos }>

Reply via email to