“boringstuff(returnthisplease)notthis(butthis)dontwantthis(butIdowantthi
snomatterhowmanyparenthiesisthereare)”.scan(/(([^)]*))/)
==>[["returnthisplease"], ["butthis"],
[“butIdowantthisnomatterhowmanyparenthiesisthereare”]]
Posted via http://www.ruby-forum.com/.
#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by NetIQ MailMarshal
#####################################################################################