Browse Source

transclude: fix attribute merge exclude regex

Evan You 10 years ago
parent
commit
dad5315b16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/compiler/transclude.js

+ 1 - 1
src/compiler/transclude.js

@@ -1,6 +1,6 @@
 var _ = require('../util')
 var templateParser = require('../parsers/template')
-var specialCharRE = /[^a-zA-Z_\-:\.]/
+var specialCharRE = /[^\w\-:\.]/
 
 /**
  * Process an element or a DocumentFragment based on a