1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

Add more punctuation to regex

This commit is contained in:
Michael Telatynski
2019-12-26 19:29:25 +00:00
parent e320f64ba1
commit ab12288979

View File

@@ -33,7 +33,7 @@ const INITIAL_LOAD_NUM_INVITED = 5;
const SHOW_MORE_INCREMENT = 100;
// Regex applied to member names before applying sort, to fuzzy it a little
const SORT_REGEX = /[.?!,;:\-()[\]{}'"&@]+/g;
const SORT_REGEX = /[.?!,;:\-()[\]{}'"&@#\\/+_=]+/g;
module.exports = createReactClass({
displayName: 'MemberList',