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:
2926a53
)
quote the pod filename used in the regexp to avoid \ issues on Win32
author
Tony Cook
<tony@develop-help.com>
Fri, 21 Jan 2011 08:03:36 +0000
(19:03 +1100)
committer
Tony Cook
<tony@develop-help.com>
Fri, 21 Jan 2011 08:33:51 +0000
(19:33 +1100)
pod/buildtoc
patch
|
blob
|
blame
|
history
diff --git
a/pod/buildtoc
b/pod/buildtoc
index
c85db57
..
cc105a0
100644
(file)
--- a/
pod/buildtoc
+++ b/
pod/buildtoc
@@
-434,7
+434,7
@@
sub podset {
$_ = <$fh>;
# Remove svn keyword expansions from the Perl FAQ
s/ \(\$Revision: \d+ \$\)//g;
- if ( /^\s*
$pod
\b/ ) {
+ if ( /^\s*
\Q$pod\E
\b/ ) {
s/$pod\.pm/$pod/; # '.pm' in NAME !?
output $_;
} else {