We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62005ca commit a2cb083Copy full SHA for a2cb083
src/components/AutoCompleteInput.js
@@ -184,7 +184,7 @@ class AutoCompleteInput extends React.PureComponent {
184
185
const tokenMatch = text
186
.slice(0, selectionEnd)
187
- .match(/(?!^|\W)?@\w*\s?\w*$/g);
+ .match(/(?!^|\W)?[:@][^\s]*\s?[^\s]*$/g);
188
189
const lastToken = tokenMatch && tokenMatch[tokenMatch.length - 1].trim();
190
const triggers = this.props.triggerSettings;
0 commit comments