summaryrefslogtreecommitdiff
path: root/lib/diagnostics.pm
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-08-12 00:27:14 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-12 00:27:14 -0700
commit98e27b5aefdacc26ef99eb80c0fd96a224f7f01c (patch)
tree950ebc35d948e68743a876b748eeb25b6712cedd /lib/diagnostics.pm
parentaca7040a006a60a8db9343e9629efe6cb356ff77 (diff)
downloadperl-98e27b5aefdacc26ef99eb80c0fd96a224f7f01c.tar.gz
diagnostics: don’t truncate wrapped links
Diffstat (limited to 'lib/diagnostics.pm')
-rw-r--r--lib/diagnostics.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index 6ccc3d02af..eadb18b206 100644
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -321,7 +321,7 @@ my %msg;
while (<POD_DIAG>) {
sub _split_pod_link {
- $_[0] =~ '(?:([^|]*)\|)?([^/]*)(?:/("?)(.*)\3)?';
+ $_[0] =~ m'(?:([^|]*)\|)?([^/]*)(?:/("?)(.*)\3)?'s;
($1,$2,$4);
}