RegExp s (dotAll) flag
Less than 1 minute
RegExp
s
(dotAll
) flag
Types
// 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;
}
Entry points
core-js/proposals/regexp-dotall-flag