Kyle Schmitt wrote: > On Mon, Dec 1, 2008 at 1:51 PM, Kyle Schmitt <kyleaschmitt / gmail.com> > wrote: >> When you've got to build up some large regular expressions, this can >> be a godsend, especially when revisiting code you haven't looked at in >> awhile. >> >> --Kyle > > Scratch that, not thinking clearly! This is to match startswith OR > codered, not necessarily both. > > Still, I maintain that this is a way of staying sane with complex > regexes :) Alright. thanks for the tip. I was just thinking...what is the regexpression for starts with anyway? I don't know..I figured maybe I could use union with the starts with expression and then just grab that value. -- Posted via http://www.ruby-forum.com/.