vn-verdnaturachat/app/containers/MessageBox/getMentionRegexp.ts

5 lines
157 B
TypeScript

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