I'll post this here on the odd chance that someone is good with #SublimeEditor and/or #regex

I'm having issues parsing a vasm error message because the regex capture groups don't return results in the correct order.

https://forum.sublimetext.com/t/capturing-group-order-for-result-file-regex/78658

#SublimeText

Capturing group order for result_file_regex

When parsing errors such as error 2 in line 1741 of "src/Wonderland.s": unknown mnemonic <dasdvx> I’m currently using this regular expression in my panel’s result_file_regex: panel_settings.set('result_file_regex', r'^error (?:\d+) in line (\d+) of "([^"]+)": (.+)$') which captures all the right bits but in the wrong order (clicking on the error tries to open the file 1741). How do I control the order in which Sublime Text parses the regex’s results? (this was already asked here and here but...

Sublime Forum

Success!! We have a working tool chain. Latest builds of Vasm/VBcc/Amiberry and a working 'Build and Run' command in the extension.

Now it's time to clean this up a bit so that it can run on somebody else's machine too.

Then the fun part... debugging support!

#Amiga #SublimeEditor #Amiberry #RetroProgramming