diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-10-31 12:45:50 -0600 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-31 16:12:00 -0700 |
commit | ea6756a64e0a36eb91bcea39467a2253c31192b8 (patch) | |
tree | 0db4b893fc2f9b6a67c3816dff3650e0b91392ad /regexec.c | |
parent | a5a291f55baf01a6b4b1013e2d3c722a0ad77432 (diff) | |
download | perl-ea6756a64e0a36eb91bcea39467a2253c31192b8.tar.gz |
reginclass: Remove unnecessary test
The previous changes have made it clear that this test never was useful,
so remove it.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6238,7 +6238,7 @@ S_reginclass(pTHX_ const regexp * const prog, register const regnode * const n, if (utf8_target || (flags & ANYOF_UNICODE)) { if (utf8_target && !ANYOF_RUNTIME(n)) { - if (c_len != (STRLEN)-1 && c < 256 && ANYOF_BITMAP_TEST(n, c)) + if (c < 256 && ANYOF_BITMAP_TEST(n, c)) match = TRUE; } if (!match && utf8_target && (flags & ANYOF_UNICODE_ALL) && c >= 256) |