Invalid escape in the Sublime Text Project Settings’ “file_regex”
My regex is working very fine: https://regex101.com/r/kW1fX9/1
And this is simply stranger. How to escape the paren on the "file_regex"
?
"build_systems":
[
{
"working_dir": "$project_path/scripting",
// "selector": "source.AmxxPawn, source.AMXX", // comment this to build from everywhere
"file_regex": "(^[a-zA-Z._-]+)\(([0-9]+)\) : (error.*)",
"name": "Build Main file",
"cmd": ["compile_and_install.bat", "1"],
"target": "ansi_color_build",
"syntax": "Packages/ANSIescape/ANSI.tmLanguage"
}
]