Skip to content

Commit

Permalink
Removing more breaking characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Mar 21, 2019
1 parent c83a4f6 commit 552e893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const enhancedMention = config.enhancedMention || { user: false, role: false, ch

const network = {};

const FILTER_USERNAME_REGEX = /[A-Za-z0-9_!?{}[\]() -,.éè]*/g;
const FILTER_USERNAME_REGEX = /[A-Za-z0-9_!? -,.éè]*/g;
const TRY_MENTION_REGEX = /(?<=((?<!<)@|(?<!<)#))(\S+)/;
const MENTION_REGEX = /<(@&|@|#)!?([0-9]+)>/;

Expand Down

0 comments on commit 552e893

Please sign in to comment.