[Israel.pm] Parsing question
Yossi Itzkovich
Yossi.Itzkovich at ecitele.com
Thu May 3 17:27:35 EEST 2007
Thanks Gaal and Doc for the very quick reply.
Yossi
-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] 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 <Yossi.Itzkovich at ecitele.com> 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 <gaal at forum2.org>
http://gaal.livejournal.com/
_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl
More information about the Perl
mailing list