4 ms·
There's some truth to that, although there's still something to be said for a lack of recursive structure. Regular expressions can only match a flat pattern. Wo
by _bxg1 6y ago
There's some truth to that, although there's still something to be said for a lack of recursive structure. Regular expressions can only match a flat pattern. Working with a JSON expression, even if you already have a JSON parser on hand, is often going to add more complexity than parsing a flat line of raw text using a regular expression.