summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-06-27 14:11:04 -0600
committerKarl Williamson <khw@cpan.org>2015-07-28 22:15:55 -0600
commit099323b4093c97c455157b30e60502a8dde670c1 (patch)
tree90a404965f5bedf5b26abc2aa02f3f31862290f8 /regen
parent5c6d9947ee9deb135c5b5a9b723fc8cbe41bf81b (diff)
downloadperl-099323b4093c97c455157b30e60502a8dde670c1.tar.gz
regen/regcharclass.pl: Work on early Unicodes
This just changes, for properties that aren't defined in all Unicode versions, to use synonyms that are defined in all
Diffstat (limited to 'regen')
-rwxr-xr-xregen/regcharclass.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl
index 489a6d679f..9115eafeb6 100755
--- a/regen/regcharclass.pl
+++ b/regen/regcharclass.pl
@@ -1631,11 +1631,11 @@ REPLACEMENT: Unicode REPLACEMENT CHARACTER
NONCHAR: Non character code points
=> UTF8 :fast
-\p{Nchar}
+\p{_Perl_Nchar}
SURROGATE: Surrogate characters
=> UTF8 :fast
-\p{Gc=Cs}
+\p{_Perl_Surrogate}
# This program was run with this enabled, and the results copied to utf8.h;
# then this was commented out because it takes so long to figure out these 2
@@ -1697,4 +1697,4 @@ PROBLEMATIC_LOCALE_FOLDEDS_START : The first folded character of folds which are
PATWS: pattern white space
=> generic cp : safe
-\p{PatWS}
+\p{_Perl_PatWS}