Revert regex
This commit is contained in:
parent
df50fece6c
commit
01fdd4206c
|
@ -11,7 +11,7 @@ export class SlashCommandBrowser {
|
||||||
|
|
||||||
renderInto(parent) {
|
renderInto(parent) {
|
||||||
if (!this.dom) {
|
if (!this.dom) {
|
||||||
const queryRegex = /(?:^|\s+)([^\s"]\S*?)(?:\s+|$)|(?:^|\s+)"(.*?)(?:"|$)(?:\s+|$)/;
|
const queryRegex = /(?:(?:^|\s+)([^\s"][^\s]*?)(?:\s+|$))|(?:(?:^|\s+)"(.*?)(?:"|$)(?:\s+|$))/;
|
||||||
const root = document.createElement('div'); {
|
const root = document.createElement('div'); {
|
||||||
this.dom = root;
|
this.dom = root;
|
||||||
const search = document.createElement('div'); {
|
const search = document.createElement('div'); {
|
||||||
|
|
Loading…
Reference in New Issue