aboutsummaryrefslogtreecommitdiffstats
path: root/gprintify
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2015-07-25 15:37:17 +0300
committerShlomi Fish <shlomif@shlomifish.org>2015-07-25 15:37:17 +0300
commitd328576bb582704c38319cbead36723fca6874af (patch)
tree08da193b159cc82f69cb81c8ebaf27c665d0510e /gprintify
parent1aebb8fa9656dd85275e0033fc9f2dbc94557171 (diff)
downloadspec-helper-d328576bb582704c38319cbead36723fca6874af.tar
spec-helper-d328576bb582704c38319cbead36723fca6874af.tar.gz
spec-helper-d328576bb582704c38319cbead36723fca6874af.tar.bz2
spec-helper-d328576bb582704c38319cbead36723fca6874af.tar.xz
spec-helper-d328576bb582704c38319cbead36723fca6874af.zip
Fix warnings/etc. on recent perls.
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;