|laziness, impatience, and hubris|
regex problemby Anonymous Monk
|on Feb 09, 2002 at 20:18 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Greetings. Hopefully this is not too off-topic.
I have to automatically create regexes that do _not_ match certain words.
for the application does something like:
and the only thing I can manipulate is $pattern.
So my question is: Is there an algorithm that can construct these regexes from a given wordlist?
Thanks for your thoughts!