aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-07-04 13:09:59 -0400
committerArnold D. Robbins <arnold@skeeve.com>2014-07-04 13:09:59 -0400
commit38cc76cf9fbaa6bc7ff4af803f6a10da70cc769e (patch)
tree5fe6dea63a8f49a547f19a7fbb42bb589fd8d962 /doc/gawktexi.in
parent577ece63770a6c4b5ad00d6998127fb7e85b86b9 (diff)
parentf6e8ca91a0046536ed5ffef60bb818d674fadf54 (diff)
downloadegawk-38cc76cf9fbaa6bc7ff4af803f6a10da70cc769e.tar.gz
egawk-38cc76cf9fbaa6bc7ff4af803f6a10da70cc769e.tar.bz2
egawk-38cc76cf9fbaa6bc7ff4af803f6a10da70cc769e.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 53df7d32..ea28861e 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -5295,6 +5295,17 @@ With the POSIX character classes, you can write
@code{/[[:alnum:]]/} to match the alphabetic
and numeric characters in your character set.
+@c Thanks to
+@c Date: Tue, 01 Jul 2014 07:39:51 +0200
+@c From: Hermann Peifer <peifer@gmx.eu>
+Some utilities that match regular expressions provide a non-standard
+@code{[:ascii:]} character class; @command{awk} does not. However, you
+can simulate such a construct using @code{[\x00-\x7F]}. This matches
+all values numerically between zero and 127, which is the defined
+range of the ASCII character set. Use a complemented character list
+(@code{[^\x00-\x7F]}) to match any single-byte characters that are not
+in the ASCII range.
+
@cindex bracket expressions, collating elements
@cindex bracket expressions, non-ASCII
@cindex collating elements