hi
i wish to find an reg exp for matching nested parenthesis of varying
level like
string =
"somewords1(wor ds(somewords2)-(some(some)word s3)somestuff)so mestuff"
and be able to evaluate the pair starting from the inner most(the
deepest level) , ie (some)
up till the outer most. What is a good reg exp to do this? or is simple
string manipulations enough?
thanks
i wish to find an reg exp for matching nested parenthesis of varying
level like
string =
"somewords1(wor ds(somewords2)-(some(some)word s3)somestuff)so mestuff"
and be able to evaluate the pair starting from the inner most(the
deepest level) , ie (some)
up till the outer most. What is a good reg exp to do this? or is simple
string manipulations enough?
thanks
Comment