regexec.c: Remove redundant line.
authorKarl Williamson <public@khwilliamson.com>
Sun, 31 Oct 2010 16:33:50 +0000 (10:33 -0600)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 31 Oct 2010 21:56:46 +0000 (14:56 -0700)
Now that reginclass is guaranteed to return the match length upon
success, the caller need not do it again.

regexec.c

index 078b670..c80e45a 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -3633,7 +3633,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
                    goto anyof_fail;
                if (locinput >= PL_regeol)
                    sayNO;
-               locinput += inclasslen ? inclasslen : UTF8SKIP(locinput);
+               locinput += inclasslen;
                nextchr = UCHARAT(locinput);
                break;
            }