From 782c520c556a9f2f8769da448f6ad7e2c48a5ceb Mon Sep 17 00:00:00 2001 From: Rudy Ges Date: Sun, 4 Feb 2024 08:34:25 +0100 Subject: [PATCH] [tests] well ofc there's windows too.. --- tests/misc/src/Main.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/src/Main.hx b/tests/misc/src/Main.hx index 006fcfad174..67684712571 100644 --- a/tests/misc/src/Main.hx +++ b/tests/misc/src/Main.hx @@ -182,7 +182,7 @@ class Main { } static function hideStdPositions(content:String):String { - var regex = new EReg(getStd() + '([a-z/]+\\.hx):[0-9]+:( characters? [0-9]+(-[0-9]+)( :)?)', 'i'); + var regex = new EReg(getStd() + '([a-z/\\\\]+\\.hx):[0-9]+:( characters? [0-9]+(-[0-9]+)( :)?)', 'i'); return content.split("\n") .map(line -> regex.replace(line, "$1:???:"))