Skip to content

Commit

Permalink
fix(for): use IE compatible regex in v-for regex (vuejs#8048)
Browse files Browse the repository at this point in the history
Closes vuejs#7946
  • Loading branch information
posva authored and aJean committed Aug 19, 2020
1 parent c73273f commit fec69fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {

export const onRE = /^@|^v-on:/
export const dirRE = /^v-|^@|^:/
export const forAliasRE = /([^]*?)\s+(?:in|of)\s+([^]*)/
export const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/
export const forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/
const stripParensRE = /^\(|\)$/g

Expand Down

0 comments on commit fec69fd

Please sign in to comment.