[Rt-commit] rt branch, 4.0/stricter-outlook-folding, updated. rt-4.0.4-148-gd704839
Thomas Sibley
trs at bestpractical.com
Fri Dec 23 18:20:47 EST 2011
The branch, 4.0/stricter-outlook-folding has been updated
via d704839235ab7a756e80f057950960021c1373fa (commit)
from 1c2b68522027c9996a53d55e02bfa0faad79ac7a (commit)
Summary of changes:
share/html/Ticket/Elements/ShowMessageStanza | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit d704839235ab7a756e80f057950960021c1373fa
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Dec 23 18:17:58 2011 -0500
Require an ending word character to detect Outlook quoting styles
This means "x y" is valid between a set of hyphens but "x " is not.
diff --git a/share/html/Ticket/Elements/ShowMessageStanza b/share/html/Ticket/Elements/ShowMessageStanza
index 93be7c5..fa9cbe4 100755
--- a/share/html/Ticket/Elements/ShowMessageStanza
+++ b/share/html/Ticket/Elements/ShowMessageStanza
@@ -105,8 +105,9 @@ AGAIN: foreach ( ; $i < @$Message; $i++ ) {
# don't trigger on PGP signed message or signature blocks
(?!(?:BEGIN|END)\s+PGP)
\w # at least one word character
- [\w\s]{4,}? # the rest of the word(s), totalling at least 5 characters,
+ [\w\s]{3,}? # the rest of the word(s), totalling at least 5 characters,
# loose to get different languages
+ \w # at least one ending word character
\s* # whitespace varies between Outlook versions
-{3,} # at least three hyphens again
|
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list