From d531ed6bf7cf580efe6211b97456ceee37a8fc9f Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Wed, 25 Jan 2017 10:25:34 -0800 Subject: [PATCH] docs(compiler): add comment to warn about regexp changes ref #14082 --- modules/@angular/compiler/src/selector.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/@angular/compiler/src/selector.ts b/modules/@angular/compiler/src/selector.ts index 3956553fb0787..d5349671c9b64 100644 --- a/modules/@angular/compiler/src/selector.ts +++ b/modules/@angular/compiler/src/selector.ts @@ -12,6 +12,7 @@ const _SELECTOR_REGEXP = new RegExp( '(\\:not\\()|' + //":not(" '([-\\w]+)|' + // "tag" '(?:\\.([-\\w]+))|' + // ".class" + // "-" should appear first in the regexp below as FF31 parses "[.-\w]" as a range '(?:\\[([-.\\w*]+)(?:=([^\\]]*))?\\])|' + // "[name]", "[name=value]" '(\\))|' + // ")" '(\\s*,\\s*)', // ","