notificationDaemon: fix escaping in xchat rewrite rules
https://bugzilla.gnome.org/show_bug.cgi?id=635712
This commit is contained in:
parent
c9b178b193
commit
b25bad9995
@ -75,11 +75,11 @@ const Urgency = {
|
|||||||
const rewriteRules = {
|
const rewriteRules = {
|
||||||
'XChat': [
|
'XChat': [
|
||||||
{ pattern: /^XChat: Private message from: (\S*) \(.*\)$/,
|
{ pattern: /^XChat: Private message from: (\S*) \(.*\)$/,
|
||||||
replacement: '<$1>' },
|
replacement: '<$1>' },
|
||||||
{ pattern: /^XChat: New public message from: (\S*) \((.*)\)$/,
|
{ pattern: /^XChat: New public message from: (\S*) \((.*)\)$/,
|
||||||
replacement: '$2 <$1>' },
|
replacement: '$2 <$1>' },
|
||||||
{ pattern: /^XChat: Highlighted message from: (\S*) \((.*)\)$/,
|
{ pattern: /^XChat: Highlighted message from: (\S*) \((.*)\)$/,
|
||||||
replacement: '$2 <$1>' }
|
replacement: '$2 <$1>' }
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user