3 ms·
It's only OK to parse something with regex if it was defined with regex. Far too often I see people wanting to match postcodes and things which are not defined
by another-cuppa 8y ago
It's only OK to parse something with regex if it was defined with regex. Far too often I see people wanting to match postcodes and things which are not defined by regex and your heuristic could break at any time.
- zamadatix 8y agoWhat about postcodes makes heuristics break for regex but not a general parser? I'd assume if the format changed it'd break both all the same.