Revert regex

01fdd4206cd1118a078e4b564cbcc04cdb8a94c4

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/slash-commands/SlashCommandBrowser.js+1 -1
@@ -11,7 +11,7 @@ export class SlashCommandBrowser {
1111
12 renderInto(parent) {12 renderInto(parent) {
13 if (!this.dom) {13 if (!this.dom) {
14 const queryRegex = /(?:^|\s+)([^\s"]\S*?)(?:\s+|$)|(?:^|\s+)"(.*?)(?:"|$)(?:\s+|$)/;14 const queryRegex = /(?:(?:^|\s+)([^\s"][^\s]*?)(?:\s+|$))|(?:(?:^|\s+)"(.*?)(?:"|$)(?:\s+|$))/;
15 const root = document.createElement('div'); {15 const root = document.createElement('div'); {
16 this.dom = root;16 this.dom = root;
17 const search = document.createElement('div'); {17 const search = document.createElement('div'); {