in reply to Re: search for matching parentheses
in thread search for matching parentheses
Any help would be greatly appreciated. Thanks! Emma$string = "Param1(x,y,z), Param2(1,2,3), Param3(a,b,c)"; print "Original string: ", $string, "\n"; ($ext,$rem,$pre) =extract_bracketed($string,'()','.*?'); print "extracted: ", $ext, "\n"; print "remainder: ", $rem, "\n"; print "skip pref: ", $pre, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: search for matching parentheses
by davorg (Chancellor) on Oct 23, 2006 at 09:53 UTC |