style(lint): re-format modules/@angular
This commit is contained in:
@ -4,6 +4,6 @@ var _RE_SPECIAL_CHARS =
|
||||
['-', '[', ']', '/', '{', '}', '\\', '(', ')', '*', '+', '?', '.', '^', '$', '|'];
|
||||
var _ESCAPE_RE = RegExpWrapper.create(`[\\${_RE_SPECIAL_CHARS.join('\\')}]`);
|
||||
export function containsRegexp(input: string): RegExp {
|
||||
return RegExpWrapper.create(
|
||||
StringWrapper.replaceAllMapped(input, _ESCAPE_RE, (match: any /** TODO #9100 */) => `\\${match[0]}`));
|
||||
return RegExpWrapper.create(StringWrapper.replaceAllMapped(
|
||||
input, _ESCAPE_RE, (match: any /** TODO #9100 */) => `\\${match[0]}`));
|
||||
}
|
||||
|
Reference in New Issue
Block a user