|
From: | Hermann Peifer |
Subject: | [bug-gawk] Gawk manual: 3.4 Using Bracket Expressions |
Date: | Tue, 01 Jul 2014 07:39:51 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hi,Maybe it could be worth mentioning in the above section that [\x00-\x7F] can be used to simulate an [:ascii:] character class. I have to detect non-ASCII characters occasionally and do this with /[^\x00-\x7F]/. This type of bracket expression isn't mentioned at all in the manual.
Hermann
[Prev in Thread] | Current Thread | [Next in Thread] |