RegExp s (dotAll) 标记
小于 1 分钟
RegExp
s
(dotAll
) 标记
类型
// patched for support `RegExp` dotAll (`s`) flag:
interface RegExp {
new (pattern: RegExp | string, flags?: string): RegExp;
exec(): RegExpExecResult | null;
readonly dotAll: boolean;
readonly flags: string;
}
interface RegExpExecResult extends Array<string> {
index: number;
input: string;
}
入口点
core-js/proposals/regexp-dotall-flag