UNPKG

vremel

Version:

JavaScript date utility library for Temporal API

8 lines 249 B
import { escapeRegExp } from "./_escapeRegExp.js"; export function unionRegExp(strings) { return strings .map((str) => escapeRegExp(str)) .filter((str) => str !== "") .join("|"); } //# sourceMappingURL=_unionRegExp.js.map