News for hackers. Stuff that matters.
Re:What are your regex tricks? by sandreas on Tuesday June 25, 2024 @04:54AM (#40786091)
A cheatsheet, stackoverflow and https://regex101.com/ - and of course a basic understanding of regular expressions in general.

If something gets too complex, I tend to write a Tokenizer / Lexer these days. It's not that hard.

Re:What are your regex tricks? by cpach on Thursday June 27, 2024 @10:27AM (#40810895)
Out of curiosity, do you perhaps have some specific examples where you opted to write a tokenizer/lexer?
Re:What are your regex tricks? by sandreas on Thursday June 27, 2024 @12:13PM (#40812105)
[delayed]