summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-12-03 09:32:14 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-12-04 12:05:31 -0800
commitced7f09023f51e105efcf75e3b73986b408608ae (patch)
tree3b87252ac5cea95b49de9d7e9aa06b4b17f8f8b3 /regexec.c
parent0072151e81aec9c504f2be93f0562f270ffac2c8 (diff)
downloadperl-ced7f09023f51e105efcf75e3b73986b408608ae.tar.gz
regecomp, regexec: Use mnemonic character names
This patch replaces hex ordinals by macros containing the character names, for clarity and portability to EBCDIC.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index d21614fe41..c9c874cedb 100644
--- a/regexec.c
+++ b/regexec.c
@@ -5544,7 +5544,7 @@ NULL
n = ARG(scan);
if ( n == (U32)what_len_TRICKYFOLD(locinput,utf8_target,ln) ) {
locinput += ln;
- } else if ( 0xDF == n && !utf8_target && !UTF_PATTERN ) {
+ } else if ( LATIN_SMALL_LETTER_SHARP_S == n && !utf8_target && !UTF_PATTERN ) {
sayNO;
} else {
U8 folded[UTF8_MAXBYTES_CASE+1];