Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
user> (filter #(re-find #"^[^aeiou]*a[^aeiou]*e[^aeiou]*i[^aeiou]*o[^aeiou]*u[^aeiou]*$" %) ( "/usr/share/dict/words"))
("abstemious" "abstemiously" "abstentious" "acheilous" "acheirous" "acleistous" "affectious" "annelidous" "arsenious" "arterious" "bacterious" "caesious" "facetious" "facetiously" "fracedinous" "majestious")

This comment has been minimized.

Copy link
Owner Author

@purcell purcell commented Sep 24, 2010

Or, indeed:

(filter #(re-find #"a[^aeiou]*e[^aeiou]*i[^aeiou]*o[^aeiou]*u" %)
        ( "/usr/share/dict/words"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment