Text-Match-FastAlternatives reviews

RSS | Module Info

Text-Match-FastAlternatives (1.05)

This module tells me whether a line matches a list of words, but not what specific word it matches. From inspecting the source code, a huge amount of work seems to have gone into making the module, yet it's missing the two most obvious usage cases. First it has no way of telling me what word actually matched, out of the input list of words, and secondly it does not have the ability to scan text to find the words in multiple places.

The only possible time this module is at all useful is for scanning for a list of words when we don't care which of the words matched, like the "obscenity detector" given in the synopsis. Other than that, I can't see what this is for, so I cannot endorse it.