in reply to Re: Simple RegEX text parser
in thread Simple RegEX text parser

you might want to consider building the regex out of the pieces you're looking for

grinder's most excellent Regexp::Assemble can certainly help with this sort of thing, identifying bits common to multiple words. Take a look at Why machine-generated solutions will never cease to amaze me for a sample of what this module can do; you'll be impressed.

Oh, and grinder's scratchpad too...

HTH,

planetscape

Replies are listed 'Best First'.
Re^3: Simple RegEX text parser
by ikegami (Patriarch) on Dec 30, 2008 at 19:02 UTC
    Regexp::Assemble is to join regexps. Regexp::List is to join strings into a regexp. They're in the same distribution.
Re^3: Simple RegEX text parser
by oko1 (Deacon) on Dec 31, 2008 at 02:06 UTC