projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f986b
)
regcomp.c: Omitted hard-coded case mapping
author
Karl Williamson
<public@khwilliamson.com>
Thu, 17 Mar 2011 03:40:03 +0000
(21:40 -0600)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 17 Mar 2011 04:23:57 +0000
(22:23 -0600)
The code has hard-coded the possible case mappings for the code points
< 256. This one was omitted.
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
d03fe3e
..
b9eb607
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-9344,6
+9344,8
@@
S_set_regclass_bit_fold(pTHX_ RExC_state_t *pRExC_state, regnode* node, const U8
LATIN_CAPITAL_LETTER_Y_WITH_DIAERESIS);
break;
case LATIN_SMALL_LETTER_SHARP_S:
+ /* 0x1E9E is LATIN CAPITAL LETTER SHARP S */
+ *invlist_ptr = add_cp_to_invlist(*invlist_ptr, 0x1E9E);
/* Under /a, /d, and /u, this can match the two chars "ss" */
if (! MORE_ASCII_RESTRICTED) {