Skip to content

Commit

Permalink
:p is incompatible with scanners
Browse files Browse the repository at this point in the history
:p may not be used with :ex, :ov, :g, :nth, or :x modifiers.
fixes #16
  • Loading branch information
TimToady committed Jul 28, 2012
1 parent c939721 commit 76c977a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions S05-regex.pod
Expand Up @@ -17,8 +17,8 @@ Synopsis 5: Regexes and Rules

Created: 24 Jun 2002

Last Modified: 23 May 2012
Version: 156
Last Modified: 28 Jul 2012
Version: 157

This document summarizes Apocalypse 5, which is about the new regex
syntax. We now try to call them I<regex> rather than "regular
Expand Down Expand Up @@ -314,6 +314,10 @@ is roughly equivalent to

m:p($p)/.*? <( pattern )> /

All of C<:g>, C<:ov>, C<:nth>, and C<:x> are incompatible with C<:p> and
will fail, recommending use of C<:c> instead. The C<:ex> modifier is allowed
but will produce only matches at that position.

=item *

The new C<:s> (C<:sigspace>) modifier causes certain whitespace sequences
Expand Down

0 comments on commit 76c977a

Please sign in to comment.