fix(compiler): fix regexp to support firefox 31 (#14082)
fixes #14029 closes #13900
This commit is contained in:
parent
1c24271daf
commit
b2f9d56577
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue