diff --git a/t/i18n.t b/t/i18n.t index 65dfd8507..a70d19314 100644 --- a/t/i18n.t +++ b/t/i18n.t @@ -31,7 +31,7 @@ initialize(); # this line is required my $digits = qr/(\d+)/; my $bareword = qr/(\w+)/; -my $quotelike = qr/((['"])($bareword\s*)+(['"]))/; +my $quotelike = qr/((['"])([^'"\s]+\s*)+(['"]))/; my $sub_args = qr/(($quotelike|$digits)(,\s*)?)+/; my $subroutine = qr/ WebGUI::International::get