3 ms·
Yes, absolutely people truly understand regex. It is a solidly and quite completely explored art of computer science. This is not an area of learning how to "c
by fargle 4y ago
Yes, absolutely people truly understand regex. It is a solidly and quite completely explored art of computer science.
This is not an area of learning how to "code" via examples or trial and error. This is an area that requires the study of computer science, aka math. If you find regex confusing, it means that you do not understand, or have not learned about, some fundamental principles of computer science - regular languages, finite state machines, and regular expressions.
This is not intended to be derisive. It's just a very, very common issue - regular expressions are like the algebra and calculus of computer science. It looks like magic if you don't understand it, but it's not magic - it's obvious if you learn the background.
You can code a lot of code without knowing computer science. But you will not learn regular expressions that way.
another +1 for https://regex101.com https://regex101.com, btw.