test -d /system is a bit too generic test for VOS
[p5sagit/p5-mst-13.2.git] / x2p / find2perl.PL
index 614f0a2..7b6834d 100644 (file)
@@ -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";
 }