summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-28 09:26:43 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-28 09:38:15 -0700
commit9febde938d8eb0a27c8740b49fdc2ab247d79907 (patch)
treeb991ee690554bef801d858c22dd3ad2bcbc6aacd /regexec.c
parent93e5bb1c76c8a1904a22406c35ae3fd01eb9acb6 (diff)
downloadperl-9febde938d8eb0a27c8740b49fdc2ab247d79907.tar.gz
regexec.c: remove no longer needed code
The code dealing with the sharp ss is now handled by the ANYOFV node, and shouldn't appear here.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/regexec.c b/regexec.c
index 35f0f51f2e..43ab569f0c 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1445,11 +1445,7 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s,
while (s < strend) {
STRLEN skip = 1;
- if (REGINCLASS(prog, c, (U8*)s) ||
- (ANYOF_FOLD_SHARP_S(c, s, strend) &&
- /* The assignment of 2 is intentional:
- * for the folded sharp s, the skip is 2. */
- (skip = SHARP_S_SKIP))) {
+ if (REGINCLASS(prog, c, (U8*)s)) {
if (tmp && (!reginfo || regtry(reginfo, &s)))
goto got_it;
else