Regex for matching words in the English dictionary(gist.github.com)
gist.github.com
Regex for matching words in the English dictionary
https://gist.github.com/noprompt/6106573/raw/fcb683834bb2e171618ca91bf0b234014b5b957d/word-re.clj
1 comments
I was about to ask "why", but the Readme on the Github page explains it.
Spoiler: 1. saving bytes in the Vim highlighting file, 2. because
Spoiler: 1. saving bytes in the Vim highlighting file, 2. because
"frak transforms collections of strings into regular expressions for matching those strings. The primary goal of this library is to generate regular expressions from a known set of inputs which avoid backtracking as much as possible"