bgu has asked for the wisdom of the Perl Monks concerning the following question:
This is my first post, hope you can help me out.
I'm looking for a CPAN module that would give all the possible matching strings for a relatively simple regular expression.
By simple I mean that this regexp would not contain +,*, backreferences, non-capturing groups or anything that would be a tricky computation. Charset selection would be a bonus, but anything would be much appreciated.
So having a simple input asabc[0pz]
to return these strings
abc0 abcp abczThanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN module for generating regexp matches
by toolic (Bishop) on Feb 29, 2012 at 01:44 UTC | |
|
Re: CPAN module for generating regexp matches
by AnomalousMonk (Archbishop) on Feb 29, 2012 at 08:24 UTC | |
by bgu (Novice) on Feb 29, 2012 at 11:47 UTC | |
|
Re: CPAN module for generating regexp matches
by Marshall (Canon) on Feb 29, 2012 at 01:19 UTC |