From 13d34caaa1db4d900f9ae9502f2ba64aaeddbd9e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 9 May 2011 08:43:29 -0600 Subject: [PATCH] regcomp.c: Add two tricky fold cases These two characters fold to lower-case characters that are involved in tricky folds, and hence these can be too. --- regcomp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regcomp.c b/regcomp.c index 08cf6a9..b9730f9 100644 --- a/regcomp.c +++ b/regcomp.c @@ -8821,6 +8821,9 @@ tryagain: latest_char_state = generic_char; break; case 0x03C5: /* First char in upsilon series */ + case 0x03A5: /* Also capital UPSILON, which folds to + 03C5, and hence exhibits the same + problem */ if (p < RExC_end - 4) { /* Need >= 4 bytes left */ latest_char_state = upsilon_1; if (len != 0) { @@ -8833,6 +8836,7 @@ tryagain: } break; case 0x03B9: /* First char in iota series */ + case 0x0399: /* Also capital IOTA */ if (p < RExC_end - 4) { latest_char_state = iota_1; if (len != 0) { -- 2.7.4