Thanks Gaal and Doc for the very quick reply.

Yossi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gaal Yahas
Sent: Thursday, May 03, 2007 5:22 PM
To: Perl in Israel
Subject: Re: [Israel.pm] Parsing question

On 5/3/07, Yossi Itzkovich <[EMAIL PROTECTED]> wrote:
> I guess there is a module for this, and probably a term, but since I
> don't know the term - I can't serach for a module for it ....
>
> I am looking for a module to handle pairs of opening/closing
delimiters
> that can be in any depth, for example:
> Or :   5 * (  (  (2+8) * 3) *2)

Look at Text::Balanced or perhaps Regexp::Common::balanced.

-- 
Gaal Yahas <[EMAIL PROTECTED]>
http://gaal.livejournal.com/
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to