Keep adding characters as needed. Additionally, since the script tags characters inside '< >' are optional, you could reduce the complexity of the rule to:
# I don't think '!' needs escaping - true/false? /[>\s]\w{1}<[\w\s\$&!-]{0,150}>\w{1}\W/
Having recently checked on some stuff in the O'Reilly regex book... No, ! doesn't need escaping inside a character class. But - *does* need it, unless it's the first character. So I'd say:
/[>\s]\w{1}<[-\w\s\$&!]{0,150}>\w{1}\W/
--Kai MacTane ---------------------------------------------------------------------- "When the clouds pull apart/And the Moon changes phases, In the quiet, secret places/Are you there? Are you there?" --Concrete Blonde, "Darkening of the Light"
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk