From 939218ae82e4cb36d1780b854f86e7bae4c2b9d6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 14 Jan 2011 22:51:21 +0000 Subject: build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl --- build/i18n-scan.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl index 9edb529ef..8c01a99c4 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, '<%', '%>'); -- cgit v1.2.3