Re:Learn RegEx step by step, from zero to advanced
by rspeele on Wednesday November 17, 2021 @03:03PM
(#29258178)
The readability isn't so bad if you let yourself allocate as much time and mental effort to understanding the one-line regex as you would use to understand the 100 line string-processing function that it replaces. And the brevity makes regexes handy on the command line and in single-line input fields in text editor search functions.
I do prefer using parser combinators for more complex tasks.
I do prefer using parser combinators for more complex tasks.