summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/run.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.cmake b/test/run.cmake
index 635c27b..15cdfed 100644
--- a/test/run.cmake
+++ b/test/run.cmake
@@ -90,7 +90,7 @@ if(msg)
if("$ENV{TEST_UPDATE}" AND expect_xml_file AND EXISTS "${xml}")
set(update_xml "${actual_xml}")
string(REGEX REPLACE "^<\\?xml version=\"1.0\"\\?>" "^<\\\\?xml version=\"1.0\"\\\\?>" update_xml "${update_xml}")
- string(REGEX REPLACE "([(*)])" "\\\\\\1" update_xml "${update_xml}")
+ string(REGEX REPLACE "([][(*)])" "\\\\\\1" update_xml "${update_xml}")
string(REGEX REPLACE "<CastXML[^>]*>" "<CastXML[^>]*>" update_xml "${update_xml}")
string(REGEX REPLACE "<GCC_XML[^>]*>" "<GCC_XML[^>]*>" update_xml "${update_xml}")
string(REGEX REPLACE "mangled=\"[^\"]*\"" "mangled=\"[^\"]+\"" update_xml "${update_xml}")