john_b_andrews
12/2/2003 6:20:00 AM
How close is Ruby's Regexp support to Perl5 (say, Perl 5.6.1)?
The PickAxe book covers Regexp's in maybe 15 pages (with repetition),
whereas "Programming Perl" 3rd edition takes on the order of 100 pages
(I don't have my copy handy to give an exact count).
I've spent some time comparing the two Regexp languages. The
PickAxe book does not mention some operators that are in the
Perl book. These are so obscure that I don't know how to create
a Ruby testcase.
The reason I'm asking is that I'm giving a talk at my company
about how Ruby compares with Perl (which we currently use), and
I'd like to make an accurate statement about Ruby's Regexp support.
Thanks,
John Andrews, Ruby Convert
Tensilica, Inc.