This produces inputs to an arbitrary regex library. You could of course build a regex
"(w1|w2|w3|...|wN)"
for words w1...wN (assuming an efficient regex library) and save the hassle, but the frak output will hopefully be more compact.
No comments yet.