Fix escaped environment variable in configuration #549
Reference in New Issue
Block a user
Delete Branch ":master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
not to resolve it and remove the escape char
\@@ -12,1 +12,3 @@name, default = matcher.group("name"), matcher.group("default")if matcher.group('escape') is not None:# in case of escaped envvar, unescape itreturn matcher.group('variable')There's a super edge case where an escaped
\${FOO:-default}would not be treated properly, but probably not worth dealing with given how unlikely it is to occur in the wild.