diff options
author | Yves Orton <demerphq@gmail.com> | 2006-11-23 13:36:24 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-23 12:57:18 +0000 |
commit | bbe252da68db3f0a4d00844fdb5e30bf18a0828f (patch) | |
tree | 63d46509865ffca1ff26e61ce7efa6aac36ee476 /pp.c | |
parent | b3123a6146c9098bd93ca1ae1f6d6d6744ef9c4b (diff) | |
download | perl-bbe252da68db3f0a4d00844fdb5e30bf18a0828f.tar.gz |
Cleanup regexp flags and structure
Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com>
p4raw-id: //depot/perl@29360
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4645,15 +4645,15 @@ PP(pp_split) s = m; } } - else if (do_utf8 == ((rx->reganch & ROPT_UTF8) != 0) && - (rx->reganch & RE_USE_INTUIT) && !rx->nparens - && (rx->reganch & ROPT_CHECK_ALL) - && !(rx->reganch & ROPT_ANCH)) { - const int tail = (rx->reganch & RE_INTUIT_TAIL); + else if (do_utf8 == ((rx->extflags & RXf_UTF8) != 0) && + (rx->extflags & RXf_USE_INTUIT) && !rx->nparens + && (rx->extflags & RXf_CHECK_ALL) + && !(rx->extflags & RXf_ANCH)) { + const int tail = (rx->extflags & RXf_INTUIT_TAIL); SV * const csv = CALLREG_INTUIT_STRING(rx); len = rx->minlenret; - if (len == 1 && !(rx->reganch & ROPT_UTF8) && !tail) { + if (len == 1 && !(rx->extflags & RXf_UTF8) && !tail) { const char c = *SvPV_nolen_const(csv); while (--limit) { for (m = s; m < strend && *m != c; m++) |