Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Geo Carncross
On Wed, 2005-04-27 at 21:16 +0200, Paul J Stevens wrote: > Geo Carncross wrote: > > On Wed, 2005-04-27 at 10:51 +0200, Paul J Stevens wrote: > > >>No. It is pretty much required for getting at the base-subject as > >>required for SORT and THREAD (draft-ietf-imapext-sort-17). > > > > > > No it's

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Paul J Stevens
Geo Carncross wrote: > On Wed, 2005-04-27 at 10:51 +0200, Paul J Stevens wrote: >>No. It is pretty much required for getting at the base-subject as >>required for SORT and THREAD (draft-ietf-imapext-sort-17). > > > No it's not. I [have] used: > > http://www.jwz.org/doc/threading.html > > to im

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Geo Carncross
On Wed, 2005-04-27 at 10:51 +0200, Paul J Stevens wrote: > > Aaron Stone wrote: > > On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > > > > > >>Hi guys, > >> > >>I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on > >>the fast threading code, but it'll come in

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Aaron Stone
On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > I just wrote a little ditty called dm_pcre_split (heh, like php). Stuff > like that will be very useful in the imap command parser, without having > to resort to a full fledged lex/yacc parser. I've been meaning to suggest that a le

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Ilja Booij
On 4/27/05, Paul J Stevens <[EMAIL PROTECTED]> wrote: > > > Aaron Stone wrote: > > On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > > > > > >>Hi guys, > >> > >>I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on > >>the fast threading code, but it'll come in ha

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Paul J Stevens
Ilja Booij wrote: > What are the advantages of using pcre? I see that quite some projects > ( Python, Apache, PHP, KDE, Postfix, nmap) are using this library. > There must be something good in there, I reckon. There's no comparison really... Virtually unlimited branching, back-references, utf8,

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Paul J Stevens
Aaron Stone wrote: > On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > > >>Hi guys, >> >>I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on >>the fast threading code, but it'll come in handy in many other areas I >>suspect. > > > I'm not sure I understand t

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Ilja Booij
On 4/27/05, Paul J Stevens <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on > the fast threading code, but it'll come in handy in many other areas I > suspect. > > Still I'm somewhat worried regex/regexp will to lead to a portabi

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Aaron Stone
On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > Hi guys, > > I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on > the fast threading code, but it'll come in handy in many other areas I > suspect. I'm not sure I understand the purpose of the regex library. Fo

Re: [Dbmail-dev] to regex or not to

2005-04-27 Thread Aaron Stone
On Wed, Apr 27, 2005, Paul J Stevens <[EMAIL PROTECTED]> said: > Hi guys, > > I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on > the fast threading code, but it'll come in handy in many other areas I > suspect. I'm not sure I understand the purpose of the regex library. Fo

[Dbmail-dev] to regex or not to

2005-04-27 Thread Paul J Stevens
Hi guys, I'm exploring the usage of regexp?|pcre calls in dbmail. I'm working on the fast threading code, but it'll come in handy in many other areas I suspect. Still I'm somewhat worried regex/regexp will to lead to a portability nightmare and don't even provide particularly strong functionalit