diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-29 22:03:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-29 22:03:40 +0200 |
commit | da212ddb7ed3f4578f1c83d9e0e472245efbea1e (patch) | |
tree | 325d01bb8203e5ea4bd70ff06faffbf21cb93beb /test/longwrds.awk | |
parent | 28436897d3289b4fe1b7e84e63c9cffecfcb17f6 (diff) | |
download | egawk-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.awk | 2 |
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 } } |