Author Login
Post Reply
I'm looking to parse some files which include embedded Groovy maps
(including possible regex's) so I'd like to do something like:
def str = "[field:value, field2:value2, field3:/^[a-z,]+$/]"
def map = new Map(str)
// or
def map = str.toMap()
Is there a Groovy mechanism for that?
Thanks!
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email