@LuisMendo RegEx is completely fine for parsing in the right environment. For example
CJSSHS. But asking for support when writing such (finite state automata) parsers with RegEx (which are also used in Sublime, TextMate, Visual Studio Code etc. et al) on StackOverflow will get you killed.