Re: nested parens

From: Jupiterhost.Net (mlists_at_jupiterhost.net)
Date: 04/04/04


Date: Sat, 03 Apr 2004 17:40:14 -0600
To:  ewalker@micron.com

ewalker@micron.com wrote:
> Is there a module out there that I can use to parse a text line
> and return the pieces that are enclosed in paren's?

You don't need a module for that just use regex's:

my @text_inside_parens = $string =~ m/\((.*)\)/g;

HTH

Lee.M - JupiterHost.Net

> Thanks
>
>
>