X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlrequick.pod;h=a31adab5eb8f4a7372c7dd70960c7b0e4d134c29;hb=351f32542342b92f7303dec0a812c5301714120f;hp=1b483c0012e478a951862536cb6bffaa6789a160;hpb=da75cd15705fec9f427a4cc8a647f3b6919c6e04;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlrequick.pod b/pod/perlrequick.pod index 1b483c0..a31adab 100644 --- a/pod/perlrequick.pod +++ b/pod/perlrequick.pod @@ -238,7 +238,7 @@ C is able to match earlier in the string. "cats" =~ /cats|cat|ca|c/; # matches "cats" At a given character position, the first alternative that allows the -regex match to succeed wil be the one that matches. Here, all the +regex match to succeed will be the one that matches. Here, all the alternatives match at the first string position, so th first matches. =head2 Grouping things and hierarchical matching