Author: larry Date: Wed Jun 11 17:53:27 2008 New Revision: 14551 Modified: doc/trunk/design/syn/S05.pod
Log: added <...> et al. as suggested by ruoso++ Modified: doc/trunk/design/syn/S05.pod ============================================================================== --- doc/trunk/design/syn/S05.pod (original) +++ doc/trunk/design/syn/S05.pod Wed Jun 11 17:53:27 2008 @@ -16,7 +16,7 @@ Date: 24 Jun 2002 Last Modified: 11 Jun 2008 Number: 5 - Version: 80 + Version: 81 This document summarizes Apocalypse 5, which is about the new regex syntax. We now try to call them I<regex> rather than "regular @@ -1410,6 +1410,15 @@ =item * +The C<< <...> >>, C<< <???> >>, and C<< <!!!> >> special tokens +have the same "not-defined-yet" meanings within regexes that the bare +elipses have in ordinary code. (However, by the recursive rules above, +C<< <!!> >> is equivalent to C<< <?> >>, which matches the null string. +Likewise C<< <!!before x> >> is just like C<< <?before x> >>, except +that it is ignored by the longest-token matcher.) + +=item * + A leading C<*> indicates that the following pattern allows a partial match. It always succeeds after matching as many characters as possible. (It is not zero-width unless 0 characters match.)