Bootstrap Bill wyrze¼bi³(a):
Are there any alternatives to Regular Expressions? The syntax is HORRIBLE!
IF not, has anyone written a program that will construct them for you?
first of all - take a look at Regexp::* modules - they do contain some
of usually needed regexps.
second - what's so horrible about them? i guess that you just learned
that there is something like regexp. and by some accident you happen to
see something long, unreadable and basically awful.
tell me - what's horrible about:
/./
/.*/
/.+/
/[a-z]+/
and so on? this is *readable*, easy to write and easy to understand.
depesz