Chris Petersen <[EMAIL PROTECTED]> wrote: > what about something like: > > /(?:\b(?!=(?:from|even|more|were|with)\b)[a-z]{4,12}\s+){12}/
Negative look-ahead is (?!...), not (?!=...). In your version, the equals sign is part of the pattern to match, and since anything that matches [a-z] can't be '=', the negative look- ahead ends up doing nothing. -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk