|Problems? Is your data what you think it is?|
Reverse regexp a regexp?by freakingwildchild (Scribe)
|on Feb 12, 2010 at 16:51 UTC||Need Help??|
freakingwildchild has asked for the
wisdom of the Perl Monks concerning the following question:
I guess my prayers need some answering in a quite diabolical matter ...
(1) To translate a regexp back to a readable value
Is there any "reverse regex" module, code or information available which explains how to get a regexp back to a fully conditioned string in Perl?
(2) Translate a set of data to a regexp
To stay with regexes; is there way to create a regexp of different inputs when they look similar ? Like a data set of 10 url's, create a most compatible regexp from this?
Hoping to find enlightenment,