[Rt-commit] rt branch, 4.0/stricter-outlook-folding, created. rt-4.0.4-146-g05ac4dd

Thomas Sibley trs at bestpractical.com
Fri Dec 23 17:34:19 EST 2011


The branch, 4.0/stricter-outlook-folding has been created
        at  05ac4dd87b780cac10dbb87d618995952d5a7f0e (commit)

- Log -----------------------------------------------------------------
commit 05ac4dd87b780cac10dbb87d618995952d5a7f0e
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Dec 23 17:32:12 2011 -0500

    Require at least one word character between hyphens when detecting Outlook's quoting
    
    This ensures that the following doesn't match:
    
         COLUMN A   COLUMN B
        ---------- ----------

diff --git a/share/html/Ticket/Elements/ShowMessageStanza b/share/html/Ticket/Elements/ShowMessageStanza
index 48634f0..feaf213 100755
--- a/share/html/Ticket/Elements/ShowMessageStanza
+++ b/share/html/Ticket/Elements/ShowMessageStanza
@@ -104,6 +104,7 @@ AGAIN: foreach ( ; $i < @$Message; $i++ ) {
                                             \s*         # whitespace varies between Outlook versions
                                                         # don't trigger on PGP signed message or signature blocks
                                             (?!(?:BEGIN|END)\s+PGP)
+                                            \w          # at least one word character
                                             [\w\s]+?    # words, loose to get different languages
                                             \s*         # whitespace varies between Outlook versions
                                             -{3,}       # at least three hyphens again

-----------------------------------------------------------------------


More information about the Rt-commit mailing list