From b25bad99951cde2066ba79183ef0da2d985c0ea4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 29 Nov 2010 11:12:21 -0500 Subject: [PATCH] notificationDaemon: fix escaping in xchat rewrite rules https://bugzilla.gnome.org/show_bug.cgi?id=635712 --- js/ui/notificationDaemon.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index dc5053738..0f2a6c9cd 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -75,11 +75,11 @@ const Urgency = { const rewriteRules = { 'XChat': [ { pattern: /^XChat: Private message from: (\S*) \(.*\)$/, - replacement: '<$1>' }, + replacement: '<$1>' }, { pattern: /^XChat: New public message from: (\S*) \((.*)\)$/, - replacement: '$2 <$1>' }, + replacement: '$2 <$1>' }, { pattern: /^XChat: Highlighted message from: (\S*) \((.*)\)$/, - replacement: '$2 <$1>' } + replacement: '$2 <$1>' } ] };