summaryrefslogtreecommitdiff
path: root/uni_keywords.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-02-05 13:32:26 -0700
committerKarl Williamson <khw@cpan.org>2020-02-12 16:25:53 -0700
commit673c254b34746289019db8836016c81eb38e5bf0 (patch)
treea137acc65278cc7a8f7c3c03024c21e10940c0b6 /uni_keywords.h
parentff5ebe043d728d8813248fe7b3a58935b1116e6a (diff)
downloadperl-673c254b34746289019db8836016c81eb38e5bf0.tar.gz
Add qr/\p{Name=...}/
This accomplishes the same thing as \N{...}, but only for regex patterns, using loose matching and only the official Unicode names. This commit includes a comparison of the two approaches, added to perlunicode. But the real reason to do this is as a way station to being able to specify wild card lookup on the name property, coming in a later commit. I chose to not include user-defined aliases nor :short character names at this time. I thought that there might be unforeseen consequences of using them. It's better to later relax a requirement than to try to restrict it.
Diffstat (limited to 'uni_keywords.h')
-rw-r--r--uni_keywords.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/uni_keywords.h b/uni_keywords.h
index 48295be6c2..a36d1bfda5 100644
--- a/uni_keywords.h
+++ b/uni_keywords.h
@@ -7540,7 +7540,7 @@ MPH_VALt match_uniprop( const unsigned char * const key, const U16 key_len ) {
* 0fea35394151afefbb4121b6380db1b480be6f9bafb4eba3382dc292dcf68526 lib/unicore/extracted/DLineBreak.txt
* 6d4a8c945dd7db83ed617cbb7d937de7f4ecf016ff22970d846e996a7c9a2a5d lib/unicore/extracted/DNumType.txt
* 5b7c14380d5cceeaffcfbc18db1ed936391d2af2d51f5a41f1a17b692c77e59b lib/unicore/extracted/DNumValues.txt
- * b546595bd9f4946e2997179652ff9a0d3ceef7833fbcc37524c1abf74363e73d lib/unicore/mktables
+ * a036e08a847a84068d32cfa018aa8514881cdd70eacb8ad1dab2c80d43ef667b lib/unicore/mktables
* 50b85a67451145545a65cea370dab8d3444fbfe07e9c34cef560c5b7da9d3eef lib/unicore/version
* 2680b9254eb236c5c090f11b149605043e8c8433661b96efc4a42fb4709342a5 regen/charset_translations.pl
* 6bbad21de0848e0236b02f34f5fa0edd3cdae9ba8173cc9469a5513936b9e728 regen/mk_PL_charclass.pl