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
