Sublime Forum

Build system not working when trying "file_regex"

#1

Hello

So I tried to create my own build system for FreeBasic, based on the lua-buildsystem. However it is not working. Sublime text says “No build system” when trying to build. Without the file_regex to catch errors it is working. The file_regex works on https://regex101.com/, but not in Sublime text and I don’t know why.
This is my build system:
{
“cmd”: [“fbc $file_name && ./${file_base_name}”],
“file_regex”: “(.)(([0-9]))”,
“shell”: true,
“selector”: “source.lua”,
“working_dir” : “$file_path”
}
And this is the error-message I want to catch:
unbenannt.bas(11) error 41: Variable not declared, bla in 'bla'

0 Likes