summaryrefslogtreecommitdiff
path: root/regcharclass.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-01-05 09:00:53 -0700
committerKarl Williamson <khw@cpan.org>2022-01-05 10:18:40 -0700
commitf0ff81efc195f719dd9527c95caca27e0bc727ed (patch)
tree0c5a731d81f3c9c4d0dc55b6088ce3519720a830 /regcharclass.h
parent6cce1edbb58ce03af59eacaf50850d665488091c (diff)
downloadperl-f0ff81efc195f719dd9527c95caca27e0bc727ed.tar.gz
Add missing aliases for \p{Present_In}
\p{Present_In} is a Perl extension of the Unicode Age property, added because knowing the exact Unicode version in which a code point became assigned is rarely what you want; much more frequently you want to know if the code point exists in the version or not. (Since this extension was added, Unicode changed their language to declare that the Age property should be interpreted in pattern matching, not as described, but as Perl's Present_In is. But I chose to not change Age, to avoid backwards compatibility issues, and this way, a coder can choose which thing s/he wanted.) Unicode typically has synonyms (aliases) for each value a property can tak on, so \p{Age=6.1} and \p{Age=V61_1} mean the same thing. Prior to this commit, neither \p{Present_In=1_1} nor \p{Present_In=NA} worked.
Diffstat (limited to 'regcharclass.h')
-rw-r--r--regcharclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcharclass.h b/regcharclass.h
index 3226b2efcd..fc2d03d681 100644
--- a/regcharclass.h
+++ b/regcharclass.h
@@ -3762,7 +3762,7 @@
* 43f6df50e4878f501b417e366b0ee097ae5ccb2d4ce942026bed3d62d78e7887 lib/unicore/extracted/DLineBreak.txt
* a04502ebb36a45d83cbe48a7d8132ea8143edb7b3d34d0aa6afe4a9685049741 lib/unicore/extracted/DNumType.txt
* 11075771b112e8e7ccf6ffa637c4c91eadc3ef3db0517b24e605df8fd3624239 lib/unicore/extracted/DNumValues.txt
- * 8b1c80fb062345cd9c4febce79fc06d92e1bf642d83d404dc702acd293f13845 lib/unicore/mktables
+ * aede5ad2422a1b01dbbaa2ef6a93c756b00a18df3fb65d7ac8c843d88caf318a lib/unicore/mktables
* c72bbdeda99714db1c8024d3311da4aef3c0db3b9b9f11455a7cfe10d5e9aba3 lib/unicore/version
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
* 1aa94679c695efd507b7e4491629dba1021b74c21a5324dfd3a582a5d654bd32 regen/regcharclass.pl