fix(compiler): fix regexp to support firefox 31 (#14082)
fixes #14029 closes #13900
This commit is contained in:

committed by
Alex Rickabaugh

parent
3d351a4f5f
commit
bd2eecb4de
@ -12,7 +12,7 @@ const _SELECTOR_REGEXP = new RegExp(
|
|||||||
'(\\:not\\()|' + //":not("
|
'(\\:not\\()|' + //":not("
|
||||||
'([-\\w]+)|' + // "tag"
|
'([-\\w]+)|' + // "tag"
|
||||||
'(?:\\.([-\\w]+))|' + // ".class"
|
'(?:\\.([-\\w]+))|' + // ".class"
|
||||||
'(?:\\[([.-\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
|
'(?:\\[([-.\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
|
||||||
'(\\))|' + // ")"
|
'(\\))|' + // ")"
|
||||||
'(\\s*,\\s*)', // ","
|
'(\\s*,\\s*)', // ","
|
||||||
'g');
|
'g');
|
||||||
|
Reference in New Issue
Block a user