I'm trying to configure a Build System for Freebasic files in Sublime Text3 and want to set the file_regex property to handle the error messages
{
"selector": "source.bas",
"cmd": ["fbc.exe", "$file"],
"file_regex": "..."
}
all i have is something like this, but it doesn't work:
"file_regex": "^[A-Za-z0-9\\\/:]*\\(.*)\(([0-9]*)\("
i want to parse this error messages:
C:\projekte\privat\freebasic\test.bas(24) error 3: Expected End-of-Line, found ...
C:\projekte\privat\freebasic\test.bas(25) error 41: Variable not declared, This ....
C:\projekte\privat\freebasic\test.bas(26) error 9: Expected expression, found ...
C:\projekte\privat\freebasic\test.bas(27) error 9: Expected expression, found ...
to make my question more precise. I have to fumble apart the filename with extension in a first group and the linenumber in the second group.
could you please help me to find the correct file_regex?!