fix sheelinput string parsing regex

This commit is contained in:
Nancy Butler 2021-05-03 08:23:57 -07:00
parent a4c0da3160
commit 1a897ce1b0
1 changed files with 1 additions and 2 deletions

View File

@ -42,9 +42,8 @@ export default {
let out = null; let out = null;
if ( userValue ) { if ( userValue ) {
out = userValue.match(/(\"[^\"]+\")|\S+/g).map(string => string.replace(/^"|"$/g, '')); out = userValue.match(/('[^']+')|("[^"]+")|\S+/g).map(string => string.replace(/^'|'$|^"|"$/g, ''));
} }
this.$emit('input', out); this.$emit('input', out);
}, },
} }