in reply to Storing substitution patterns
This is untested, so i could be wrong.# %regexes = (first => ['(\w+) (\w+) (\w+)', '$1 $3'], # second => ['and so on', 'and on'] ); # into %regexes = (first => ["(\w+) (\w+) (\w+)", "$1 $3"], second => ["and so on", "and on"] );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Storing substitution patterns
by duff (Parson) on Feb 11, 2004 at 14:59 UTC |