notificationDaemon: fix escaping in xchat rewrite rules

https://bugzilla.gnome.org/show_bug.cgi?id=635712
This commit is contained in:
Dan Winship 2010-11-29 11:12:21 -05:00
parent c9b178b193
commit b25bad9995

View File

@ -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 &lt;$1&gt;' },
replacement: '$2 <$1>' },
{ pattern: /^XChat: Highlighted message from: (\S*) \((.*)\)$/,
replacement: '$2 &lt;$1&gt;' }
replacement: '$2 <$1>' }
]
};