From 72c11fa91ab99e23252000797fcfd0d4aa0de1cf Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 22 Nov 2023 14:20:23 +1100 Subject: waf: Fix Python 3.12 escape sequences Updates #4968 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 69732d4e17..dd7fda7225 100755 --- a/wscript +++ b/wscript @@ -125,7 +125,7 @@ class Template(string.Template): idpattern = "[_A-Za-z][_A-Za-z0-9:#]*" -_VAR_PATTERN = re.compile("\$\{?(" + Template.idpattern + ")\}?$") +_VAR_PATTERN = re.compile("\\$\\{?(" + Template.idpattern + ")\\}?$") def _is_enabled_op_and(enabled, enabled_by): -- cgit v1.2.3