diff options
author | Ævar Arnfjörð Bjarmason <avar@cpan.org> | 2007-08-09 07:49:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-08-09 10:10:37 +0000 |
commit | 640f820da331e7bc688f3f8820b2760fa5a09de6 (patch) | |
tree | cb0dcb9ac4b8e2fc5c49fcd2c6db441d7469a37c /regexp.h | |
parent | d3bf4b0e5207a91e509350df0ebcce4b2c9908f0 (diff) | |
download | perl-640f820da331e7bc688f3f8820b2760fa5a09de6.tar.gz |
Optimize split //
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80708090049p2cf4810ep5a437ad53f64fa78@mail.gmail.com>
p4raw-id: //depot/perl@31693
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -240,6 +240,7 @@ and check for NULL. #define RXf_SKIPWHITE 0x00000100 /* Pattern is for a split / / */ #define RXf_START_ONLY 0x00000200 /* Pattern is /^/ */ #define RXf_WHITE 0x00000400 /* Pattern is /\s+/ */ +#define RXf_NULL 0x40000000 /* Pattern is // */ /* 0x1F800 of extflags is used by (RXf_)PMf_COMPILETIME */ #define RXf_PMf_LOCALE 0x00000800 /* use locale */ |