Fix unicode completions in autocomplete.
Fixes vector-im/vector-web#2208
This commit is contained in:
@@ -18,7 +18,7 @@ export default class AutocompleteProvider {
|
||||
let commandRegex = this.commandRegex;
|
||||
|
||||
if (force && this.shouldForceComplete()) {
|
||||
commandRegex = /[^\W]+/g;
|
||||
commandRegex = /\S+/g;
|
||||
}
|
||||
|
||||
if (commandRegex == null) {
|
||||
|
||||
Reference in New Issue
Block a user