summaryrefslogtreecommitdiff
path: root/regen/regcharclass.pl
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-10-03 14:42:51 -0600
committerKarl Williamson <public@khwilliamson.com>2012-10-09 11:16:04 -0600
commit8769f413b9f20a6cc3b610fc5fa588e3593b5295 (patch)
tree8619c62fb54692330d96c2aa344db85446473ac9 /regen/regcharclass.pl
parent4b9dbf476b4dd332407df71ce9af089941a5fa0b (diff)
downloadperl-8769f413b9f20a6cc3b610fc5fa588e3593b5295.tar.gz
regen/regcharclass.pl: Generate macros for multi-char fold sequences
These will be used in future commits
Diffstat (limited to 'regen/regcharclass.pl')
-rwxr-xr-xregen/regcharclass.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl
index 5d17c440a1..37a86822fb 100755
--- a/regen/regcharclass.pl
+++ b/regen/regcharclass.pl
@@ -1245,3 +1245,16 @@ UTF8_CHAR: Matches utf8 from 1 to 5 bytes
QUOTEMETA: Meta-characters that \Q should quote
=> high :fast
\p{_Perl_Quotemeta}
+
+MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
+=> UTF8 :safe
+do regen/regcharclass_multi_char_folds.pl
+
+# 1 => All folds
+&regcharclass_multi_char_folds::multi_char_folds(1)
+
+MULTI_CHAR_FOLD: multi-char ascii strings that are folded to by a single character
+=> low : safe
+
+# 0 => ASCII-only
+&regcharclass_multi_char_folds::multi_char_folds(0)