Skip to content

Commit bd2eecb

Browse files
vicbalxhub
authored andcommitted
fix(compiler): fix regexp to support firefox 31 (#14082)
fixes #14029 closes #13900
1 parent 3d351a4 commit bd2eecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/@angular/compiler/src/selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const _SELECTOR_REGEXP = new RegExp(
1212
'(\\:not\\()|' + //":not("
1313
'([-\\w]+)|' + // "tag"
1414
'(?:\\.([-\\w]+))|' + // ".class"
15-
'(?:\\[([.-\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
15+
'(?:\\[([-.\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]"
1616
'(\\))|' + // ")"
1717
'(\\s*,\\s*)', // ","
1818
'g');

0 commit comments

Comments
 (0)