diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-09-22 10:42:30 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-09-22 12:07:26 -0600 |
commit | 25275596243468dc2f7e4dddb6ac6eb8aac471f2 (patch) | |
tree | 33dc94457fca0f4d534814b1adfe9a373c316217 /pod/perlre.pod | |
parent | fd0f00a93384045e0679fc6f89cb492fcac2b5a5 (diff) | |
download | perl-25275596243468dc2f7e4dddb6ac6eb8aac471f2.tar.gz |
perlre: Note a bug's existence
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index e3bdd51402..ad2dbf1ced 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -76,6 +76,18 @@ Perl doesn't match multiple characters in an inverted bracketed character class, which otherwise could be highly confusing. See L<perlrecharclass/Negation>. +Another bug involves character classes that match both a sequence of +multiple characters, and an initial sub-string of that sequence. For +example, + + /[s\xDF]/i + +should match both a single and a double "s", since C<\xDF> (on ASCII +platforms) matches "ss". However, this bug +(L<[perl #89774]|https://rt.perl.org/rt3/Ticket/Display.html?id=89774>) +causes it to only match a single "s", even if the final larger match +fails, and matching the double "ss" would have succeeded. + Also, Perl matching doesn't fully conform to the current Unicode C</i> recommendations, which ask that the matching be made upon the NFD (Normalization Form Decomposed) of the text. However, Unicode is |