summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJeff Pinyan <japhy@pobox.com>2001-09-14 16:58:30 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-15 18:37:07 +0000
commit6d1bf76a2a7ec340a0a264c83b0adae327703f32 (patch)
treee272151087c5fc437f31bb09cea9477106ae2293 /regexec.c
parentac1256e84658383144a004125119e392696fbe36 (diff)
downloadperl-6d1bf76a2a7ec340a0a264c83b0adae327703f32.tar.gz
adding (U8) to case insensitive matching
Message-ID: <Pine.GSO.4.21.0109142057490.12393-100000@crusoe.crusoe.net> p4raw-id: //depot/perl@12031
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index cad6a404eb..b70896f231 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3286,8 +3286,8 @@ S_regmatch(pTHX_ regnode *prog)
locinput++;
} else {
while (locinput <= e
- && *locinput != c1
- && *locinput != c2)
+ && (U8) *locinput != (U8) c1
+ && (U8) *locinput != (U8) c2)
locinput++;
}
count = locinput - old;