diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-11-07 16:41:53 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-11-07 16:42:18 +0100 |
commit | 6d351bf2e060da9a1c13a1f7c2deb014f74fe6b8 (patch) | |
tree | 546984c67e6c48523df3ac1599c5bdb29a67de3d /regexec.c | |
parent | 39048aa450587a41ed87db5699e412ae2b8ee596 (diff) | |
download | perl-6d351bf2e060da9a1c13a1f7c2deb014f74fe6b8.tar.gz |
Correct grouping in S_reginclass
As pointed out by Karl Williamson.
Apparently the wrong grouping only introduced an inefficiency, not any bugs, so
the tests still passed.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6302,7 +6302,7 @@ S_reginclass(pTHX_ const regexp * const prog, register const regnode * const n, /* If the bitmap didn't (or couldn't) match, and something outside the * bitmap could match, try that */ - if ((!match && utf8_target) || (flags & ANYOF_UNICODE)) { + if (!match && (utf8_target || (flags & ANYOF_UNICODE))) { if (utf8_target && (flags & ANYOF_UNICODE_ALL) && c >= 256) { match = TRUE; } |