diff --git a/.editorconfig b/.editorconfig index e633e8a6..cca66853 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,6 +27,8 @@ indent_size = 2 indent_style = space indent_size = 4 +[*.pl] + [*.py] indent_style = space indent_size = 4 diff --git a/contrib/i18n-scan.pl b/contrib/i18n-scan.pl index 29abefcc..e6aaf0de 100755 --- a/contrib/i18n-scan.pl +++ b/contrib/i18n-scan.pl @@ -79,7 +79,7 @@ if( open F, "find @ARGV -type f '(' -name '*.html' -o -name '*.lua' ')' |" ) { my $stag = quotemeta $1; my $etag = $stag; - $etag =~ s/\[/]/g; + $etag =~ s/\[/]/g; ( $res ) = extract_tagged($code, $stag, $etag);