This regex works in the SublimeText search field:
([^\/]+\.java)
If I use that regex in a .sublime-build
file:
\.
is highlighted in red, and- the build system is not recognised.
When I comment out the line "file_regex": "([^\/]+\.java)"
the build system is recognised.
{
"cmd": ["gradle" , "build"],
"working_dir": "${project_path}",
"file_regex": "([^\/]+\.java)"
}
Question: Why does the regex that works in search not work in the .sublime-build
file?