I haven't had a single false positive from this rule and I've been using it for a month now. YMMV, of course.
-Scott
Mark A. DeMichele wrote:
How safe are these random word rules? Should I be afraid of false positives?
Am I understanding these correctly. Basically, you're looking for a sequence of 10 (or 15) words that don't include, "from" or "even", etc.
If so, it seems scary to me, but I'm just a novice.
body RANDOM_WORD_10 /(?:\b(?!(?:from|even|more|that|this|were|with)\b)[a-z]{4,12}\s+){10}/
describe RANDOM_WORD_10 string of 10+ random words
score RANDOM_WORD_10 1.6
body RANDOM_WORD_15 /(?:\b(?!(?:from|even|more|that|this|were|with)\b)[a-z]{4,12}\s+){15}/
describe RANDOM_WORD_15 string of 15+ random words
score RANDOM_WORD_15 3.8
There's an unintentional line-break there. body, describe, and score
are the only three lines per rule.
