3 ms·
Eh, I think the challenging part is understanding a complex regex that's already been written. You really do need good comments and unit tests to go along with
by jwestbury 4y ago
Eh, I think the challenging part is understanding a complex regex that's already been written. You really do need good comments and unit tests to go along with a regex in order to understand the intent, otherwise they rapidly become unmaintainable.