diff options
Diffstat (limited to 'tools/genlang')
-rwxr-xr-x | tools/genlang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang index d99e3f0442..6348f6e1ad 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -139,7 +139,7 @@ sub trim { | |||
139 | sub match { | 139 | sub match { |
140 | my ($string, $pattern)=@_; | 140 | my ($string, $pattern)=@_; |
141 | 141 | ||
142 | $pattern =~ s/\*/.?*/g; | 142 | $pattern =~ s/\*/.*/g; |
143 | $pattern =~ s/\?/./g; | 143 | $pattern =~ s/\?/./g; |
144 | 144 | ||
145 | return ($string =~ /^$pattern\z/); | 145 | return ($string =~ /^$pattern\z/); |