[Israel.pm] Parsing question

Gaal Yahas gaal at forum2.org
Thu May 3 17:21:49 EEST 2007


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/



More information about the Perl mailing list