2 ms·
You really shouldn't use a lot of regexes for parsing code. They go only on the tokenizer, if they go somewhere at all.
by marcosdumay 3y ago
You really shouldn't use a lot of regexes for parsing code.
They go only on the tokenizer, if they go somewhere at all.
- thrdbndndn 3y agoAgreed, it's more about quick and dirty ad hoc capture than full-fledged parser though (like when you want to extract certain object when scraping).