summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x2p/find2perl.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2p/find2perl.PL b/x2p/find2perl.PL
index 614f0a2bc8..7b6834d70f 100644
--- 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";
}