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:???:"))