bug-grep
[Top][All Lists]
Advanced

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

Re: [bug #32337] [:alnum:] depends on locale


From: Jim Meyering
Subject: Re: [bug #32337] [:alnum:] depends on locale
Date: Thu, 03 Feb 2011 21:30:21 +0100

Reuben Thomas wrote:
> Follow-up Comment #1, bug #32337 (project grep):
>
> The man page here is misleading. [:alnum:] does not mean a-zA-Z0-9, it means
> "the set of characters with the letter and/or number property in the current
> locale".
>
> Grep's behavior is correct here, but the man page could do with improvement.
> Suggested rewording:
>
> For example, [[:alnum:]] means the character class of numbers and letters in
> the current locale (in the C locale and ASCII character set encoding, this is
> the same as [0-9A-Za-z]).

Looks good.  Want to write the patch,
fixing the .texi documentation, too?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]