Geo Carncross wrote:
> There are other problems that inevitably crop up. Better to avoid the
> temptations and write state-machine parsers that use fixed-memory...

Will do.

>>Currently the *only* place that uses (posix) regex is the namespace code in
>>imap. I just finished a working implementation of base-subject retrieval using
>>pcre, but that's not in svn yet.
> 
> 
> Why do we need regex for namespaces? The server defines the namespaces,
> and they're all fixed-strings... aren't they?

I checked. _ic_list in imapcommands.c uses regex to find mailboxes bases
on regexes by translating the LIST command to regex patterns.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to