I have a problem with line_regex for ST3. I’m making a code analysis plugin, and in the panel, I’m showing the results. I have a problem with line regex not working.
here is a code sample:
panel.settings().set( "result_file_regex", r"(^\S+)(.*)(?:⚠️|⛔|ⓘ)(.*)" ) panel.settings().set( "line_regex", r"(?:⚠️|⛔|ⓘ) \[(\d+), (\d+)\]: (.*)" )
and file regex works but a line does not.
example of the result:
analyze.py ⓘ 1 ⓘ [77, 22]: Use decode before passing to json.loads.