|
From: | Hermann Peifer |
Subject: | [bug-gawk] Gawk manual A.7: [a-dx-z] ... might be equivalent to [aBbCcdXxYyz] |
Date: | Sat, 14 Jul 2012 08:40:59 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
Arnold,Isn't there something counter-intuitive, if not wrong with the given example?
[a-dx-z] -> [aBbCcdXxYyz] # example in Gawk manual [a-dx-z] -> [aBbCcDdxYyZz] # what I would have expectedIn the next para, it should also read "...matched all of the uppercase characters except ‘A’ and ‘X’ ! "
'D' and 'Z' would be outside the given range if the collate order was the opposite of the above:
[a-dx-z] -> [aAbBcCdxXyYz] Regards, Hermann
[Prev in Thread] | Current Thread | [Next in Thread] |