summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/profile-conditions-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/profile-conditions-ui.js')
-rw-r--r--ext/js/pages/settings/profile-conditions-ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/pages/settings/profile-conditions-ui.js b/ext/js/pages/settings/profile-conditions-ui.js
index 715aeb69..8e5da3d8 100644
--- a/ext/js/pages/settings/profile-conditions-ui.js
+++ b/ext/js/pages/settings/profile-conditions-ui.js
@@ -389,6 +389,7 @@ export class ProfileConditionsUI extends EventDispatcher {
*/
_validateRegExp(value) {
try {
+ // eslint-disable-next-line no-new
new RegExp(value, 'i');
return true;
} catch (e) {