projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
45c68e7
)
[ID 20010524.002] find2perl bug in fileglob_to_re
Geraint A Edwards [Thu, 24 May 2001 22:51:24 +0000 (23:51 +0100)]
Message-Id: <
20010524225124
.A34981@cymru.serf.org>
p4raw-id: //depot/perl@10202
x2p/find2perl.PL
patch
|
blob
|
blame
|
history
diff --git
a/x2p/find2perl.PL
b/x2p/find2perl.PL
index
614f0a2
..
7b6834d
100644
(file)
--- a/
x2p/find2perl.PL
+++ b/
x2p/find2perl.PL
@@
-674,7
+674,7
@@
sub tab () {
sub fileglob_to_re ($) {
my $x = shift;
- $x =~ s#([./^\$()])#\\$1#g;
+ $x =~ s#([./^\$()+])#\\$1#g;
$x =~ s#([?*])#.$1#g;
"^$x\\z";
}