1
From: Modestas Vainius <modestas@vainius.eu>
2
Subject: [PATCH] debian/dbug_autoreplace
4
Add a default autoreplace which replaces dbug:bugnumber with
5
the respective Debian BTS URL.
7
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
10
src/config/preferences.cpp | 1 +
11
1 files changed, 1 insertions(+), 0 deletions(-)
13
diff --git a/src/config/preferences.cpp b/src/config/preferences.cpp
14
index 0371bc2..27bdacd 100644
15
--- a/src/config/preferences.cpp
16
+++ b/src/config/preferences.cpp
17
@@ -121,6 +121,7 @@ const QList<QStringList> Preferences::defaultAutoreplaceList()
18
QList<QStringList> defaultList;
19
defaultList.append(QStringList() << "1" << "o" << "\\[\\[([^\\s]+)\\]\\]" << "http://en.wikipedia.org/wiki/Special:Search?go=Go&search=%1");
20
defaultList.append(QStringList() << "1" << "o" << "(BUG:|bug:)([0-9]+)" << "https://bugs.kde.org/show_bug.cgi?id=%2");
21
+ defaultList.append(QStringList() << "1" << "o" << "([Dd][Bb][Uu][Gg]:)(\\w+)" << "http://bugs.debian.org/%2");
26
tg: (704a89b..) debian/dbug_autoreplace (depends on: upstream)