Change 31325 by [EMAIL PROTECTED] on 2007/06/01 09:14:24

        Subject: [perl #43094] Doc patch to perlre: modifiers => quantifiers 
        From: Brad Baxter (via RT) <[EMAIL PROTECTED]>
        Date: Thu, 31 May 2007 15:04:55 -0700
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/pod/perlre.pod#130 edit

Differences ...

==== //depot/perl/pod/perlre.pod#130 (text) ====
Index: perl/pod/perlre.pod
--- perl/pod/perlre.pod#129~31277~      2007-05-25 06:29:34.000000000 -0700
+++ perl/pod/perlre.pod 2007-06-01 02:14:24.000000000 -0700
@@ -145,8 +145,8 @@
 
 (If a curly bracket occurs in any other context, it is treated
 as a regular character.  In particular, the lower bound
-is not optional.)  The "*" modifier is equivalent to C<{0,}>, the "+"
-modifier to C<{1,}>, and the "?" modifier to C<{0,1}>.  n and m are limited
+is not optional.)  The "*" quantifier is equivalent to C<{0,}>, the "+"
+quantifier to C<{1,}>, and the "?" quantifier to C<{0,1}>.  n and m are limited
 to integral values less than a preset limit defined when perl is built.
 This is usually 32766 on the most common platforms.  The actual limit can
 be seen in the error message generated by code such as this:
@@ -1891,7 +1891,7 @@
 
 The C<o?> matches at the beginning of C<'foo'>, and since the position
 in the string is not moved by the match, C<o?> would match again and again
-because of the C<*> modifier.  Another common way to create a similar cycle
+because of the C<*> quantifier.  Another common way to create a similar cycle
 is with the looping modifier C<//g>:
 
     @matches = ( 'foo' =~ m{ o? }xg );
@@ -1911,7 +1911,7 @@
 
 Thus Perl allows such constructs, by I<forcefully breaking
 the infinite loop>.  The rules for this are different for lower-level
-loops given by the greedy modifiers C<*+{}>, and for higher-level
+loops given by the greedy quantifiers C<*+{}>, and for higher-level
 ones like the C</g> modifier or split() operator.
 
 The lower-level loops are I<interrupted> (that is, the loop is
End of Patch.

Reply via email to