Skip to content

Commit

Permalink
🐛 : update list regex matching
Browse files Browse the repository at this point in the history
resolves #133
  • Loading branch information
juwit committed Oct 18, 2019
1 parent 9bc44a6 commit 6c81e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/templates/vue_templates/stack-vars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Vue.component('stack-vars', {
return {result:true};
},
isListRegex: function(regex){
const listRegex = /^\((\w*)(\|(\w*))*\)$/;
const listRegex = /^\(([^|]*)(\|([^|]*))*\)$/;
return listRegex.test(regex);
},
listOptions: function(regex){
Expand Down

0 comments on commit 6c81e0e

Please sign in to comment.