Skip to content

Commit

Permalink
fix(compiler): fix regexp to support firefox 31 (#14082)
Browse files Browse the repository at this point in the history
fixes #14029
closes #13900
  • Loading branch information
vicb authored and alxhub committed Jan 24, 2017
1 parent 1c24271 commit b2f9d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/@angular/compiler/src/selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b2f9d56

Please sign in to comment.