1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Fix case insensitivity on new RegExps

This commit is contained in:
lukebarnard
2018-01-15 14:54:51 +00:00
parent e2e5f80298
commit 751fe7349a

View File

@@ -97,6 +97,7 @@ function PushProcessor(client) {
'key': 'content.body',
'regex': new RegExp(
'(^|\\W)' + globToRegexp(tprule.pattern) + '(\\W|$)',
'i', // Case insensitive
),
});
break;