Re: spell checking (long, sorry...)



Am 06.07.2001 13:18:57 schrieb(en) Brian Stafford:
> Maybe the RE library is buggy.  AFAIK [:alpha:] is supposed to match

At least there is no "standard" around. And this is *really* bad!!!

> alphabetic
> characters with or without diacritical marks.  OTOH [a-z] merely enumerates
> the characters between 'a' and 'z'; not quite the same thing.

The man page simply states that national characters *may* be included in this
set...

> Just a thought ... why not use PCRE in Balsa.  It has a posix API as well as
> its own so no code changes are necessary.  RE syntax is the same as perl, so
> you can rely on \b as marking a word boundary.  Unfortunately its character
> class tables are generated at compile time, so it may not solve the
> [:alpha:]
> thing.

Anyway, it's worth a try. Can you give me a pointer to the sources? It might
also help in writing simpler but portable expressions to find the URL's.

BTW, I removed sendmail a few days ago and switched to postfix. I needed ~1
hour to get all the configs right, and it seems to be way faster than
sendmail. You were *really* right that it was time for a change!!! Thanks
again...

Cheers, Albrecht.
 
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Albrecht Dreß  -  Monschauer Straße 22  -  D-53121 Bonn (Germany)
      Phone (+49) 228 6199571  -  E-Mail albrecht.dress@arcormail.de
_________________________________________________________________________




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]