Re: [PD] Chords parsing (with regexp)
I think it's best put as "PCRE *can* be slower", take care with non-greedy matches and captures in Perl type regex. For chords I guess you want the first good match anyway, although that's an assumption. On Thu, 26 Apr 2007 08:01:32 -0400 "Alexandre Quessy" <[EMAIL PROTECTED]> wrote: > Hi, > regex uses POSIX regex. pcre uses Perl-like regex, which are more > powerful, but non-standard, I think. PCRE might be slower though. > > a > > 2007/4/26, IOhannes m zmoelnig <[EMAIL PROTECTED]>: > > Alexandre Quessy wrote: > > > Hi, > > > > > > I join an old draft patch using my draft [pcre] external. Stands for > > > "perl-compatible regular expressions" which are must robust. It can be > > > found in cvs :: externals/aalex/pcre.c > > > > just out of curiosity: how do these differ from the regular expressions > > handled by zexy's [regex]? > > > > mfg,sdr > > IOhannes > > > > > -- > Alexandre Quessy > http://alexandre.quessy.net > http://www.puredata.info/Members/aalex > > ___ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list -- Use the source ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Chords parsing (with regexp)
Hi, regex uses POSIX regex. pcre uses Perl-like regex, which are more powerful, but non-standard, I think. PCRE might be slower though. a 2007/4/26, IOhannes m zmoelnig <[EMAIL PROTECTED]>: > Alexandre Quessy wrote: > > Hi, > > > > I join an old draft patch using my draft [pcre] external. Stands for > > "perl-compatible regular expressions" which are must robust. It can be > > found in cvs :: externals/aalex/pcre.c > > just out of curiosity: how do these differ from the regular expressions > handled by zexy's [regex]? > > mfg,sdr > IOhannes > -- Alexandre Quessy http://alexandre.quessy.net http://www.puredata.info/Members/aalex ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Chords parsing (with regexp)
Alexandre Quessy wrote: > Hi, > > I join an old draft patch using my draft [pcre] external. Stands for > "perl-compatible regular expressions" which are must robust. It can be > found in cvs :: externals/aalex/pcre.c just out of curiosity: how do these differ from the regular expressions handled by zexy's [regex]? mfg,sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list