3
I have a dictionary-like regular expression, an "or chain" of words, word1|word2|word3|... Unfortunately, the chain is too large. I'd like to find the minimal regular expression that is equivalent. How can do I do that? You should think of this as a regex like /^(word1|word2|word3)$/. I ha...