diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-02-28 09:26:43 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-02-28 09:38:15 -0700 |
commit | 9febde938d8eb0a27c8740b49fdc2ab247d79907 (patch) | |
tree | b991ee690554bef801d858c22dd3ad2bcbc6aacd /regexec.c | |
parent | 93e5bb1c76c8a1904a22406c35ae3fd01eb9acb6 (diff) | |
download | perl-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.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |