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



On Fri,  6 July 15:55 Albrecht Dreß wrote:
> 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!!!

Agreed

> > 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...

Fair enough.  It would be nice if Posix standards were free, then we could
all see what it *actually* says.

> > 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.

I've been racking my brains trying to remember when I got it.  All I can
suggest is try www.exim.org.  PCRE is written by Philip Hazel who is alos
the author of Exim.  I'll drop you a line if I find the correct URL.

> 
> 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...

:-)  Anything is faster, more easily configured than sendmail etc etc so it
would seem.  I always used to wonder why mail was so complicated until
I tried Exim.  Then I discovered everything else was quite easy compared to
sendmail too.

> Cheers, Albrecht.





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