Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Part of your problem here, is that you have more information than you're giving the computer. i.e. they're not just regex but file system path expressions. You might take advantage of that knowledge and decompose the regex into a set of File::Find::Rule rules, obviously you'll have to write the parser youself, but hopefully all the regexes will be quite similar and there will be common patterns that you can spot and translate into rules. So you might end up with something like :-
It's an interesting problem and well worth spending some time on. In reply to Re^3: Regex partial/leading match
by RichardK
|
|