SA Bugzilla – Bug 558
LOW_PAYMENT Upgrade
Last modified: 2002-07-21 02:14:44 UTC
Some of the rules I suggested got added in a way that doesn't work as well as I originally intended. Whoever added them put \b at the beginning and end of all of them, which is fine in many cases, but not fine in others. Anyhow - here's an example where it broke the effectiveness of the rule. The \b makes the plural not match - in this case "payments". Current: body LOW_PAYMENT /\b(?:reduce|low).{0.12} payment\b/i describe LOW_PAYMENT Lower Monthly Payment Better: body LOW_PAYMENT /\b(?:reduce|low).{0.12} payment/i describe LOW_PAYMENT Lower Monthly Payment Or: body LOW_PAYMENT /\b(?:reduce|low).{0.12} payment(?:s)?\b/i describe LOW_PAYMENT Lower Monthly Payment
Subject: Re: [SAdev] New: LOW_PAYMENT Upgrade > body LOW_PAYMENT /\b(?:reduce|low).{0.12} payment(?:s)?\b/i > describe LOW_PAYMENT Lower Monthly Payment 1. the grouping for the final "s" is unnecessary 2. the {0.12} should be {0,12} 3. replace the space before payments with a \b 4. change the final "e" in reduce to "[ei]" to match "reducing" body LOW_PAYMENT /\b(?:reduc[ei]|low).{0,12}\bpayments?\b/i describe LOW_PAYMENT Lower Payments Dan
assigning to me
done