diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-08-12 21:02:48 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-08-12 21:02:48 +0300 |
commit | 4f196c2431034aa4865fcd4e3bcc45a6e764266f (patch) | |
tree | 454540708626c22efebf92cb5280ed0c3bd508a7 /doc/gawk.texi | |
parent | 84d6acb5c16aa9aed908fde7cb0bc53c2ecbeede (diff) | |
download | egawk-4f196c2431034aa4865fcd4e3bcc45a6e764266f.tar.gz egawk-4f196c2431034aa4865fcd4e3bcc45a6e764266f.tar.bz2 egawk-4f196c2431034aa4865fcd4e3bcc45a6e764266f.zip |
Fix doc on ranges and locales again. Add test.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 4 |
1 files changed, 1 insertions, 3 deletions
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 |