diff options
author | Yves Orton <demerphq@gmail.com> | 2007-01-09 01:46:31 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-01-09 10:04:37 +0000 |
commit | e357fc671749d483a102a060a774d41a9b256b46 (patch) | |
tree | ad6b6dd8c8d0407474c2ac0da73f6ccbcbcfdb47 /pp.c | |
parent | 850d607338c285d0f6a7d66f1c4baf08de921004 (diff) | |
download | perl-e357fc671749d483a102a060a774d41a9b256b46.tar.gz |
Let the regex parser decide if we have a special pattern or not.
Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com>
p4raw-id: //depot/perl@29730
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4629,7 +4629,7 @@ PP(pp_split) ++s; } } - else if (rx->precomp[0] == '^' && rx->precomp[1] == '\0') { + else if (rx->extflags & RXf_START_ONLY) { while (--limit) { for (m = s; m < strend && *m != '\n'; m++) ; |