in reply to Help with regular expression
I would fake it by replacing the = sign with . (dot) and then using Data::SExpression or something to turn the strings into Perl expressions.
If faking is too much effort, then Parse::RecDescent or some other parser can also easily turn the given string into a data structure that then can be examined.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Help with regular expression
by ng (Initiate) on Oct 10, 2012 at 19:28 UTC | |
by Corion (Patriarch) on Oct 10, 2012 at 19:31 UTC |
In Section
Seekers of Perl Wisdom