diff options
author | Felipe Gasper <felipe@felipegasper.com> | 2021-08-27 16:05:45 -0400 |
---|---|---|
committer | xenu <me@xenu.pl> | 2021-08-30 21:02:37 +0200 |
commit | a9a1cd1d6ae3cd249b78a78a8a41cb041d93c0d0 (patch) | |
tree | 0dc4dd0607210671b01b9b6126713743849481e2 /regcharclass.h | |
parent | bf7671f1287a3d11deeb11fec2cbf4c73750f455 (diff) | |
download | perl-a9a1cd1d6ae3cd249b78a78a8a41cb041d93c0d0.tar.gz |
Reword discussion of /d regexp modifier.
The phrasing as it stood confused UTF8-flagged strings with
“UTF-8 encoded”. The latter term should refer to strings that the
Perl application has actually encode()d, which probably *won’t*
be UTF8-flagged and thus won’t, per /d modifier rules, get the Unicode
treatment.
This also removes an incorrect statement about only ASCII characters
matching in the absence of (the UTF8 flag). This is trivially false
given that "\xff" =~ /\xff/ is truthy.
This also reorders and rewords some parts in an attempt to clarify that
new code should avoid this flag, including use of the 'unicode_strings'
feature to avoid implicit use.
Diffstat (limited to 'regcharclass.h')
0 files changed, 0 insertions, 0 deletions