[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #32337] [:alnum:] dependance on locale is not well documented
From: |
Reuben Thomas |
Subject: |
Re: [bug #32337] [:alnum:] dependance on locale is not well documented |
Date: |
Fri, 15 Jul 2011 14:15:02 +0100 |
On 29 June 2011 07:30, Paolo Bonzini <address@hidden> wrote:
> Fixed in commit 406ab56cdd977fbd05216392ac655dd7204a307a
>
I just noticed that for some reason I never attached my suggested
patch to the bug report. Paolo, you used (part of) my suggested
wording to fix the texinfo manual, but you never saw my man page
patch:
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index e9b4589..6026157 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -676,11 +676,10 @@ and
.BR [:xdigit:].
For example,
.B [[:alnum:]]
-means
-.BR [0\-9A\-Za\-z] ,
-except the latter form depends upon the C locale and the
-\s-1ASCII\s0 character encoding, whereas the former is independent
-of locale and character set.
+means the character class of numbers and
+letters in the current locale. In the C locale and \s-1ASCII\s0
+character set encoding, this is the same as
+.BR [0-9A-Za-z] .
(Note that the brackets in these class names are part of the symbolic
names, and must be included in addition to the brackets delimiting
the bracket expression.)
--
http://rrt.sc3d.org
- Re: [bug #32337] [:alnum:] dependance on locale is not well documented,
Reuben Thomas <=