SA Bugzilla – Bug 95
SUBJ_ALL_CAPS regexp uses exponential backoff
Last modified: 2002-03-16 18:25:06 UTC
The SUBJ_ALL_CAPS regexp rule uses exponential backoff, which can be a problem if you have a Perl version that doesn't handle such stuff gracefully. In general, though, because of the regexp's suboptimal behavior in the first place, it ought to be avoided and replaced with an eval test. I already had a discussion about this with Charlie Watts <cewatts@frontier.net> on the list. I'll attach my patches, which I already submitted to the list, in an appended document.
Created attachment 6 [details] Patch for SUBJ_IS_ALL_CAPS eval test
header SUBJ_ALL_CAPS eval:subject_is_all_caps describe SUBJ_ALL_CAPS SUBJECT TEXT IS ALL CAPS score SUBJ_ALL_CAPS 2