summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>2007-08-09 07:49:16 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-09 10:10:37 +0000
commit640f820da331e7bc688f3f8820b2760fa5a09de6 (patch)
treecb0dcb9ac4b8e2fc5c49fcd2c6db441d7469a37c /regexp.h
parentd3bf4b0e5207a91e509350df0ebcce4b2c9908f0 (diff)
downloadperl-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 27f17e71c9..6de89c9fd2 100644
--- a/regexp.h
+++ b/regexp.h
@@ -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 */