Created
August 12, 2013 08:34
-
-
Save choult/6209113 to your computer and use it in GitHub Desktop.
This regex matches English words...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(echo "/^" && cat /etc/dictionaries-common/words | sed ':a;N;$!ba;s/\n/\|/g' && echo "$/") | sed ':a;N;$!ba;s/\n//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently only tested in Ubuntu 12.04 - YMMV