Dot Star - Fortune [possible satire]

thesebi have a regex that finds stuff in parentheses... "\(.*\)" ...how make it NOT be "greedy"?
thesebi.e. if it sees "(aaa)bbb)" I want it to grab (aaa) instead of the entire string
theseb(aaa)bbb)
Kyshtynbai/\ba\b|(\b.*a[^b]+\b)/ <-- this works for my problem, at least at that tests that i run for it. Regexp' theme is really an effort as it seems to me...
Su-Sheetheseb: you know there is a module to matched paired things like parentheses.. Text::Balanced?
Su-Sheetheseb: extract_bracketed
DrForrText::Balanced, yes. Doing ab-type balanced strings in REs is a pain.
thesebSu-Shee: thanks...i actually have the same problem with brackets []
Su-Sheetheseb: extract_bracketed ;)
LeoNerdOr Parser::MGC :)
Su-Sheetheseb: also, .* is the most unspecific regex you can use, it's like saying oh well match something of anything or nothing and please, a lot of it ;)
Channel#perl
NetworkFreenode
Tagline.* described
Published2012-12-14