summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-05-13 10:30:39 -0600
committerKarl Williamson <public@khwilliamson.com>2011-05-19 12:07:09 -0600
commit2d74afe183a61f0d3e0eed53da05b9446b2017f0 (patch)
treefa5c3afe3d4498d3a022a1733cc4afccb4fc4fbb /regcomp.c
parentfe5a0c86a16c9bba9c22c531be820646417685e2 (diff)
downloadperl-2d74afe183a61f0d3e0eed53da05b9446b2017f0.tar.gz
regcomp.c: Greek multi-char folds fix
GREEK PROSGEGRAMMENI and COMBINING GREEK YPOGEGRAMMENI fold to the the first character of one of the tricky folds, and hence need to be treated as potentially tricky themselves.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 21d54f8072..130a6b7c95 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8838,6 +8838,9 @@ tryagain:
break;
case 0x03B9: /* First char in iota series */
case 0x0399: /* Also capital IOTA */
+ case 0x1FBE: /* GREEK PROSGEGRAMMENI folds to 3B9 */
+ case 0x0345: /* COMBINING GREEK YPOGEGRAMMENI folds
+ to 3B9 */
if (p < RExC_end - 4) {
latest_char_state = iota_1;
if (len != 0) {