Skip to content

Instantly share code, notes, and snippets.

@choult
Created August 12, 2013 08:34
Show Gist options
  • Save choult/6209113 to your computer and use it in GitHub Desktop.
Save choult/6209113 to your computer and use it in GitHub Desktop.
This regex matches English words...
(echo "/^" && cat /etc/dictionaries-common/words | sed ':a;N;$!ba;s/\n/\|/g' && echo "$/") | sed ':a;N;$!ba;s/\n//g'
@choult
Copy link
Author

choult commented Aug 12, 2013

Currently only tested in Ubuntu 12.04 - YMMV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment