verdnatura-chat/app/containers/MessageBox/getMentionRegexp.ts

5 lines
157 B
TypeScript
Raw Normal View History

// Match query string from the message to replace it with the suggestion
const getMentionRegexp = (): any => /[^@:#/!]*$/;
export default getMentionRegexp;