summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-22 17:26:48 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-22 18:50:37 -0700
commitd8e299374017857bcc055c31b6d4a808fb862100 (patch)
treed935353f1721c92a074149c365adbadf74b5ea3e /regexp.h
parent39984de3a8e9c16c0fee320a579cb465d0ce7314 (diff)
downloadperl-d8e299374017857bcc055c31b6d4a808fb862100.tar.gz
regexp.h: Correct comment
RXf_SKIPWHITE is for split " ", which is special, *not* for split / /.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index 1f27fd56b8..1fe4c3f468 100644
--- a/regexp.h
+++ b/regexp.h
@@ -414,7 +414,7 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp)
/* Flags indicating special patterns */
#define RXf_START_ONLY (1<<(RXf_BASE_SHIFT+19)) /* Pattern is /^/ */
-#define RXf_SKIPWHITE (1<<(RXf_BASE_SHIFT+20)) /* Pattern is for a split / / */
+#define RXf_SKIPWHITE (1<<(RXf_BASE_SHIFT+20)) /* Pattern is for a split " " */
#define RXf_WHITE (1<<(RXf_BASE_SHIFT+21)) /* Pattern is /\s+/ */
#define RXf_NULL (1U<<(RXf_BASE_SHIFT+22)) /* Pattern is // */
#if RXf_BASE_SHIFT+22 > 31