fix(compiler): fix regexp to support firefox 31 (#14082)

fixes #14029
closes #13900
This commit is contained in:
Victor Berchet 2017-01-24 14:47:51 -08:00 committed by Alex Rickabaugh
parent 1c24271daf
commit b2f9d56577
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const _SELECTOR_REGEXP = new RegExp(
'(\\:not\\()|' + //":not("
'([-\\w]+)|' + // "tag"
'(?:\\.([-\\w]+))|' + // ".class"
'(?:\\[([.-\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
'(?:\\[([-.\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
'(\\))|' + // ")"
'(\\s*,\\s*)', // ","
'g');