Sublime Forum

ST3 shutdown in build due to regex

#1

Hello, I’m new in this forum but not with Sublime Text, I’m using the version ‘Build 3083’ and I’m getting a problem when compiling my code with this regex “file_regex”: “”(…?)", line ([0-9]):|\source\(…?) ([0-9])", Sublime Text is closed immediately when finishing the build

this is the output that I need to examine with this regex :
C:\Workspace_ee\Projects\source\can\driver\eps225.c 76 Warning 639: Strong type mismatch for type ‘u_bit’ in binary operation

I want to retrieve the “can\driver\eps225.c” file and line number ‘76’

0 Likes

#2

The crashing is likely a bug, but your regex is also pretty wrong.

Try this instead:

"file_regex": "^(.*?) ([0-9]) (.*)"
0 Likes