I keep bumping into stuff that suggests I "simply write a regular expression" to do all sorts of insanely complicated tasks. These are not simple, or regular, expressions!
...Although they end up horrifyingly short given what they do (and the fact that they have debuggers). There are clearly a lot of ugly symbols in these things.
I do not understand regex, and that seems to mark me as the equivalent of an illiterate with some of the systems out there.
The best solution is undoubtedly to learn this madness. Do you know any good books (preferably below 1000 pages), or tutorials, or web sites that teach how to write regular expressions, how they work, etc.?
Alternatively (preferably, because regex scares me), is there a magical program that will do all the work for me?
Oh, and why are regular expressions a seemingly universal thing? Are these done by a single standard library, or are they just a widely accepted standard that nobody messes with?
...Although they end up horrifyingly short given what they do (and the fact that they have debuggers). There are clearly a lot of ugly symbols in these things.
I do not understand regex, and that seems to mark me as the equivalent of an illiterate with some of the systems out there.
The best solution is undoubtedly to learn this madness. Do you know any good books (preferably below 1000 pages), or tutorials, or web sites that teach how to write regular expressions, how they work, etc.?
Alternatively (preferably, because regex scares me), is there a magical program that will do all the work for me?
Oh, and why are regular expressions a seemingly universal thing? Are these done by a single standard library, or are they just a widely accepted standard that nobody messes with?