diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 22:51:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 22:51:21 +0000 |
commit | 939218ae82e4cb36d1780b854f86e7bae4c2b9d6 (patch) | |
tree | 86330ce69f6951cb34978c77bb8558698a4e8aad /build | |
parent | 86a13c6ab9ec4f485e1cc9d89475ba73e2c9e261 (diff) |
build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl
Diffstat (limited to 'build')
-rwxr-xr-x | build/i18n-scan.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl index 9edb529ef6..8c01a99c4f 100755 --- a/build/i18n-scan.pl +++ b/build/i18n-scan.pl @@ -72,7 +72,7 @@ if( open F, "find @ARGV -type f '(' -name '*.htm' -o -name '*.lua' ')' |" ) $text = $raw; - while( $text =~ s/ ^ .*? <% [:_] -? /<%/sgx ) + while( $text =~ s/ ^ .*? <% -? [:_] /<%/sgx ) { ( my $code, $text ) = extract_tagged($text, '<%', '%>'); |