From 9febde938d8eb0a27c8740b49fdc2ab247d79907 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 28 Feb 2011 09:26:43 -0700 Subject: [PATCH] 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. --- regexec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/regexec.c b/regexec.c index 35f0f51..43ab569 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 -- 2.7.4