diff --git a/src/utils.py b/src/utils.py index 17d672f52..8fe698133 100755 --- a/src/utils.py +++ b/src/utils.py @@ -262,6 +262,7 @@ def perlReToReplacer(s): else: return lambda s: r.sub(replace, s, 1) +# XXX Should we find a way to allow $1, $2, etc.? _perlVarSubstituteRe = re.compile(r'\$\{([^}]+)\}|\$([a-zA-Z][a-zA-Z0-9]*)') def perlVariableSubstitute(vars, text): def replacer(m):