aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/mw.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw.awk b/bin/mw.awk
index c2565cf3..8af28312 100644
--- a/bin/mw.awk
+++ b/bin/mw.awk
@@ -1,7 +1,7 @@
# Crude approach to get alphabetic words one per line from input, not sorted or
# deduplicated
BEGIN {
- FS = "(--|['_-]*[^[a-zA-Z0-9_]'_-]+['_-]*)"
+ FS = "(--|['_-]*[^a-zA-Z0-9_'_-]+['_-]*)"
}
{
for (i = 1; i <= NF; i++)