From 4f196c2431034aa4865fcd4e3bcc45a6e764266f Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 12 Aug 2012 21:02:48 +0300 Subject: Fix doc on ranges and locales again. Add test. --- doc/gawk.texi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index b2044649..1ff75230 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -27095,9 +27095,7 @@ But outside those locales, the ordering was defined to be based on In many locales, @samp{A} and @samp{a} are both less than @samp{B}. In other words, these locales sort characters in dictionary order, and @samp{[a-dx-z]} is typically not equivalent to @samp{[abcdxyz]}; -instead it might be equivalent to @samp{[aBbCcDdXxYyZz]}, for example. -(And to make things worse, on other systems, it might be equivalent to -@samp{[aAbBcCdDxXyYz]}.) +instead it might be equivalent to @samp{[ABCXYabcdxyz]}, for example. This point needs to be emphasized: Much literature teaches that you should use @samp{[a-z]} to match a lowercase character. But on systems with -- cgit v1.2.3