summaryrefslogtreecommitdiffstats
path: root/Tests/RegexEscapeString.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RegexEscapeString.cmake')
-rw-r--r--Tests/RegexEscapeString.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Tests/RegexEscapeString.cmake b/Tests/RegexEscapeString.cmake
deleted file mode 100644
index 92aed17..0000000
--- a/Tests/RegexEscapeString.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-macro(REGEX_ESCAPE_STRING _OUT _IN)
- # Escape special regex metacharacters with a backslash
- string(REGEX REPLACE "([$^.[|*+?()]|])" "\\\\\\1" ${_OUT} "${_IN}")
-endmacro()