Skip to content
This repository
Browse code

:p is incompatible with scanners

:p may not be used with :ex, :ov, :g, :nth, or :x modifiers.
fixes #16
  • Loading branch information...
commit 76c977a784b1ac4220453edce464d8d3c05e1679 1 parent c939721
Larry Wall authored July 28, 2012

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. 8  S05-regex.pod
8  S05-regex.pod
Source Rendered
@@ -17,8 +17,8 @@ Synopsis 5: Regexes and Rules
17 17
 
18 18
     Created: 24 Jun 2002
19 19
 
20  
-    Last Modified: 23 May 2012
21  
-    Version: 156
  20
+    Last Modified: 28 Jul 2012
  21
+    Version: 157
22 22
 
23 23
 This document summarizes Apocalypse 5, which is about the new regex
24 24
 syntax.  We now try to call them I<regex> rather than "regular
@@ -314,6 +314,10 @@ is roughly equivalent to
314 314
 
315 315
      m:p($p)/.*? <( pattern )> /
316 316
 
  317
+All of C<:g>, C<:ov>, C<:nth>, and C<:x> are incompatible with C<:p> and
  318
+will fail, recommending use of C<:c> instead.  The C<:ex> modifier is allowed
  319
+but will produce only matches at that position.
  320
+
317 321
 =item *
318 322
 
319 323
 The new C<:s> (C<:sigspace>) modifier causes certain whitespace sequences

0 notes on commit 76c977a

Please sign in to comment.
Something went wrong with that request. Please try again.