document xsubpp SCOPE:
[p5sagit/p5-mst-13.2.git] / pod / perlre.pod
index 5446746..6d21a65 100644 (file)
@@ -156,7 +156,7 @@ WARNING below.) The scope of $<digit> (and C<$`>, C<$&>, and C<$'>)
 extends to the end of the enclosing BLOCK or eval string, or to the next
 successful pattern match, whichever comes first.  If you want to use
 parentheses to delimit a subpattern (e.g. a set of alternatives) without
-saving it as a subpattern, follow the ( with a ?.
+saving it as a subpattern, follow the ( with a ?:.
 
 You may have as many parentheses as you wish.  If you have more
 than 9 substrings, the variables $10, $11, ... refer to the
@@ -330,7 +330,7 @@ That won't work at all, because C<.*> was greedy and gobbled up the
 whole string. As C<\d*> can match on an empty string the complete
 regular expression matched successfully.
 
-    Beginning is <I have 2: 53147>, number is <>.
+    Beginning is <I have 2 numbers: 53147>, number is <>.
 
 Here are some variants, most of which don't work: