This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test-Harness: don't assume symlink succeeds
[perl5.git] / pod / perlrecharclass.pod
index a50f97f..5802819 100644 (file)
@@ -366,7 +366,7 @@ it isn't already.
 
 Note that almost all properties are immune to case-insensitive matching.
 That is, adding a C</i> regular expression modifier does not change what
-they match.  There are two sets that are affected.  The first set is
+they match.  But there are two sets that are affected.  The first set is
 C<Uppercase_Letter>,
 C<Lowercase_Letter>,
 and C<Titlecase_Letter>,
@@ -529,7 +529,9 @@ place before the bracketed class is parsed:
  $, = "\t| ";
  $a =~ m'[$,]';        # single-quotish: matches '$' or ','
  $a =~ q{[$,]}'        # same
- $a =~ m/[$,]/;        # double-quotish: matches "\t", "|", or " "
+ $a =~ m/[$,]/;        # double-quotish: Because we made an
+                       #   assignment to $, above, this now
+                       #   matches "\t", "|", or " "
 
 Characters that may carry a special meaning inside a character class are:
 C<\>, C<^>, C<->, C<[> and C<]>, and are discussed below. They can be