procmail
[Top] [All Lists]

Re: what regexps work?

1997-04-10 11:53:00


On Wed, 9 Apr 1997, Philip Guenther wrote:

BTW: if you find a program that uses locales for [a-z], then it's
broken.  Locales should only be used for the [:foo:], [.ch.] and [=n=]
blobs.

POSIX allows this if supported.  If you use the C library functions to 
determine your character classes, capitalization issues, which bytes are 
letters or digits, etc., then locale is used.
If your program does not use the C library to make these determinations,
then to some minds your program is broken too.

I must admit though, perl is the probably the only program that supports
this.

--
g-r-a-t-e-f-u-l-l-y---[   email:<fishbowl(_at_)conservatory(_dot_)com>   
]---l-i-v-i-n-g
d-e-a-d-i-c-a-t-e-d---[     http://www.conservatory.com/      ]-----l-i-g-h-t
An elephant is a mouse with an operating system.

<Prev in Thread] Current Thread [Next in Thread>