Regular expressions

Then came regexps in real life. Yuck.

I know what you mean – they just aren’t nice.

Then I started thinking: We have Perl-style
regexps, right? What other style regexps are
there?

Well, there’s also Perl-style regexps ;-). (Perl 6
will use a rather different style which I find much
more attractive and useful, plus it’s neatly fit
into a parsing construct rather than trying to
shoehorn parenthesis counting into a regexp.)

My favorite regexp actually isn’t a regular expression
– it’s REBOL’s ‘parse’ verb. It’s so much tidier than
a regexp, and is also easier to express more things in.

Chris

-Billy

···

From: “Chris Pine” nemo@hellotree.com