Paul Barbeau <[EMAIL PROTECTED]> wrote:
> rawbody HN_WORDWORD10
> /(?:\b(?!=:q(?:from|even|more|this|that|were|with)\b)[a-z]{4,12}
> [.,:;'!?-]?\ s+){10}/ describe HN_WORDWORD10 LOCAL: string
> of 10+ random words score HN_WORDWORD10 .5
What's that ":q" doing in there? Looks like something got
garbled somewhere along the line.
Also (and this affects the other rules you posted), the syntax
for a negative lookahead is "(?!whatever)", not
"(?!=whatever)". The extraneous equals sign means you're
really excluding those short words only if they've got an
equals sign in front of them (or in this case a "=:q"), but
that can't happen anyway because the main match requires a
lowercase letter in that position, so the negative lookahead is
doing nothing.
--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC