Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 368 Bytes

perl-5.14.2-find2perl-transtate-question-mark-properly.patch

File metadata and controls

13 lines (12 loc) · 368 Bytes
 
Apr 26, 2013
Apr 26, 2013
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -up a/x2p/find2perl.PL b/x2p/find2perl.PL
--- a/x2p/find2perl.PL 2010-12-30 03:07:17.000000000 +0100
+++ b/x2p/find2perl.PL 2012-05-29 10:18:11.697683643 +0200
@@ -681,7 +681,8 @@ sub tab () {
sub fileglob_to_re ($) {
my $x = shift;
$x =~ s#([./^\$()+])#\\$1#g;
- $x =~ s#([?*])#.$1#g;
+ $x =~ s#\*#.*#g;
+ $x =~ s#\?#.#g;
"^$x\\z";
}