konversation (1.3.1-2) debian_dbug_autoreplace.diff

Summary

 src/config/preferences.cpp |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

From: Modestas Vainius <modestas@vainius.eu>
Subject: [PATCH] debian/dbug_autoreplace

Add a default autoreplace which replaces dbug:bugnumber with
the respective Debian BTS URL.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>

---
 src/config/preferences.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

--- a/src/config/preferences.cpp
+++ b/src/config/preferences.cpp
@@ -121,6 +121,7 @@ const QList<QStringList> Preferences::de
     QList<QStringList> defaultList;
     defaultList.append(QStringList() << "1" << "o" << "\\[\\[([^\\s]+)\\]\\]" << "http://en.wikipedia.org/wiki/Special:Search?go=Go&search=%1");
     defaultList.append(QStringList() << "1" << "o" << "(BUG:|bug:)([0-9]+)" << "https://bugs.kde.org/show_bug.cgi?id=%2");
+    defaultList.append(QStringList() << "1" << "o" << "([Dd][Bb][Uu][Gg]:)(\\w+)" << "http://bugs.debian.org/%2");
     return defaultList;
 }