This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e6f150
)
Remove the greedy quantifier from inside the grouping (?:) so that it
author
Nicholas Clark
<nick@ccl4.org>
Sat, 7 Jan 2006 20:42:57 +0000
(20:42 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 7 Jan 2006 20:42:57 +0000
(20:42 +0000)
and the greedy quantifier on the (?:) don't fight each other until the
C stack is exhausted.
p4raw-id: //depot/perl@26702
lib/Pod/Simple/BlackBox.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Pod/Simple/BlackBox.pm
b/lib/Pod/Simple/BlackBox.pm
index
12eba58
..
90f5d6c
100644
(file)
--- a/
lib/Pod/Simple/BlackBox.pm
+++ b/
lib/Pod/Simple/BlackBox.pm
@@
-1675,7
+1675,7
@@
sub _treelet_from_formatting_codes {
|
( # $6: stuff containing no start-codes or end-codes
(?:
- [^A-Z\s>]
+
+ [^A-Z\s>]
|
(?:
[A-Z](?!<)