Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(no commit message)
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
po.pm
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index a79e7d7f0ee56f579ff4e261cd97028533de3099..79142ed1fe62396f17cff88cbfe914acb40896f7 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-1297,7
+1297,7
@@
sub match_lang ($$;@) {
my $regexp=IkiWiki::glob2re($wanted);
my $lang=IkiWiki::Plugin::po::lang($page);
- if ($lang !~
/^$regexp$/i
) {
+ if ($lang !~
$regexp
) {
return IkiWiki::FailReason->new("file language is $lang, not $wanted");
}
else {