Sublime Forum

Question about file_regex and regular expressions

#1

What regex engine is used by file_regex behind the curtains? Said otherwise, which docs should i refer to?

Thanks in advance.

1 Like

#2

generally ST uses Onigurama where it needs TextMate compatibility, and Boost elsewhere - so Boost here

http://docs.sublimetext.info/en/latest/reference/build_systems/configuration.html#build-capture-error-output

you may find it easier to set some settings directly on the/a view using the ST console (the gotcha most people experience with the regex patterns in build systems is the JSON escapes, so using a raw Python string may help here), and paste in different output from your build tool to check the results rather than having to rebuild each time while debugging - you may also want to sublime.log_result_regex(True)
http://docs.sublimetext.info/en/latest/reference/settings.html#build-and-error-navigation-settings

1 Like

#3

Thank you very much, that’s exactly what I wanted to know, no more no less :wink:

0 Likes