From: Chad Perrin Date: 2006-01-09T21:35:40+09:00 Subject: Re: regular expressions for beginners On Mon, Jan 09, 2006 at 06:08:11PM +0900, Gene Tani wrote: > > Vladimir Agafonkin wrote: > > Jim wrote: > > > > > The Ruby User's Guide has a small script to highlight regular > > > expression patterns. I found it quite helpful for visualizing regex's, > > > especially while learning them. > > > > > > http://www.ruby-doc.org/docs/UsersGuide/rg/ > > > > > > There's also a small tool (GUI) bundled with Ruby Development Tools for > > Eclipse that does just that. Quite useful. > > > > -- > > Posted via http://www.ruby-forum.com/. > > some other things that might help > http://www.weitz.de/regex-coach/ > http://samuelfullman.com/team/php/tools/regular_expression_tester_p2.php > http://www.regular-expressions.info/python.html > The clearest explanation I recall seeing was . . . I think it was chapter seven in Learning Perl (I have 2nd Ed.: later editions might have it in a different chapter for all I know). Yes, I know, it's Perl and not Ruby -- but that doesn't mean it's not useful knowledge. -- Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2);