diff --git a/index.js b/index.js index af6a655..87c6d9c 100644 --- a/index.js +++ b/index.js @@ -157,7 +157,7 @@ const vueCleaningRegex = /<\/*script.*>||<\/*br>/ig; const vueTemplateRegex = /()([\s\S]*)(<\/template>)/ig; const vueCommentRegex = /<\!--[\s\S]*?-->/ig; const vueBindRegex = /(:\[)([\s\S]*?)(\])/ig; -const vuePropRegex = /\s([.:@])([a-zA-Z]*?=)/ig; +const vuePropRegex = /\s([.:@])([\s\S]*?=)/ig; /** * Convert a single vue file to AST diff --git a/package.json b/package.json index 595ee86..e0b02c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@joernio/astgen", - "version": "3.5.0", + "version": "3.5.1", "description": "Generate JS/TS AST in json format with Babel", "exports": "./index.js", "keywords": [