aboutsummaryrefslogtreecommitdiffstats
path: root/gprintify
diff options
context:
space:
mode:
Diffstat (limited to 'gprintify')
-rwxr-xr-xgprintify6
1 files changed, 3 insertions, 3 deletions
diff --git a/gprintify b/gprintify
index 925e4af..12dc936 100755
--- a/gprintify
+++ b/gprintify
@@ -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;