diff options
Diffstat (limited to 'gprintify')
-rwxr-xr-x | gprintify | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,10 +47,10 @@ my $var_pattern = qr/ (?: \$[a-zA-Z0-9_]+ # simple variable name | - \${ # protected variable name + \$\{ # protected variable name [a-zA-Z0-9_]+ - (?:[#%]{1,2}[^}]+)? # with optional expansion pattern - } + (?:[#%]{1,2}[^\}]+)? # with optional expansion pattern + \} ) ) /x; |