diff options
-rwxr-xr-x | i18n-diff-auditor | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/i18n-diff-auditor b/i18n-diff-auditor index 1345419..17bd81c 100755 --- a/i18n-diff-auditor +++ b/i18n-diff-auditor @@ -145,8 +145,9 @@ sub semiparse ($) { }{ $1 }xe) { $o[$#o]{V} = $2; } else { - s{ \n (.*) }{ \n }s; - $o[$#o]{V} = $1; + m{^.*\n} or confess; + $_ = $&; + $o[$#o]{V} = $'; $o[$#o]{Invented} = 1; } } elsif (s{^ (["'])( (?: [^\\'"] |