Permalink
Browse files

Merge pull request #55 from daniel-s/master

typo in regexes.pod
  • Loading branch information...
2 parents 76b1e78 + 493f99e commit c284546f603d1cc25cb5af1e4b72554079deb31b @perlpilot perlpilot committed Jun 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/regexes.pod
View
@@ -779,7 +779,7 @@ X<regex, zero-width assertion>
The word character after the comma is not part of the match, because it is in
a look-ahead introduced by C<< <?before ... > >>. The leading question mark
indicates an I<zero-width assertion>: a rule that never consumes characters
-from the matched string. You can turn any call to a subrule into an zero
+from the matched string. You can turn any call to a subrule into a zero
width assertion. The built-in token C<< <alpha> >> matches an alphabetic
character, so you can rewrite this example as:
@@ -791,7 +791,7 @@ character, so you can rewrite this example as:
X<regex, negative look-ahead assertion>
-An leading exclamation mark negates the meaning, such that the lookahead must
+A leading exclamation mark negates the meaning, such that the lookahead must
I<not> find the regex fragment. Another variant is:
=begin programlisting

0 comments on commit c284546

Please sign in to comment.