projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec6b98
)
test for single-line ^ within /m
author
David Mitchell
<davem@iabyn.com>
Fri, 27 Dec 2013 23:16:23 +0000
(23:16 +0000)
committer
David Mitchell
<davem@iabyn.com>
Fri, 7 Feb 2014 22:39:36 +0000
(22:39 +0000)
This combo doesn't appear to be tested anywhere; specifically, adding this
in re_intuit_start() didn't trigger the assertion when run against the
test suite:
if (prog->extflags & RXf_ANCH_BOL)
assert(!multiline);
t/re/re_tests
patch
|
blob
|
history
diff --git
a/t/re/re_tests
b/t/re/re_tests
index
525118d
..
577a9f0
100644
(file)
--- a/
t/re/re_tests
+++ b/
t/re/re_tests
@@
-1853,5
+1853,8
@@
A+(*PRUNE)BC(?{}) AAABC y $& AAABC
\x{100}a{2,3} \x{100}aaa y $& \x{100}aaa
^x?abc?de abcde y $& abcde
+'(?-m:^abc)'m abcde y $& abc
+'(?-m:^abc)'m x\nabcde n - -
+
# Keep these lines at the end of the file
# vim: softtabstop=0 noexpandtab