aboutsummaryrefslogtreecommitdiffstats
path: root/test/longwrds.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-29 22:03:40 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-29 22:03:40 +0200
commitda212ddb7ed3f4578f1c83d9e0e472245efbea1e (patch)
tree325d01bb8203e5ea4bd70ff06faffbf21cb93beb /test/longwrds.awk
parent28436897d3289b4fe1b7e84e63c9cffecfcb17f6 (diff)
downloadegawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.tar.gz
egawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.tar.bz2
egawk-da212ddb7ed3f4578f1c83d9e0e472245efbea1e.zip
Doc updates. Strftime fix for PC. Check ranges in REs.
Diffstat (limited to 'test/longwrds.awk')
-rw-r--r--test/longwrds.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/longwrds.awk b/test/longwrds.awk
index d4b4d92d..77654bb0 100644
--- a/test/longwrds.awk
+++ b/test/longwrds.awk
@@ -9,7 +9,7 @@ BEGIN {
{
for (i = 1; i <= NF; i++) {
tmp = tolower($i)
- if (0 != (pos = match(tmp, /([a-z]|-)+/)))
+ if (0 != (pos = match(tmp, /([[:lower:]]|-)+/)))
used[substr(tmp, pos, RLENGTH)] = 1
}
}