@sap/xssec
Version:
XS Advanced Container Security API for node.js
8 lines • 442 B
TypeScript
/**
* Escapes Regex special characters in the given string, so that the string can be used for a literal match inside a Regex.
* Regex.escape is only a proposal at the time of writing.
* The source of this code is https://github.com/tc39/proposal-regex-escaping/blob/main/polyfill.js
*/
export function escapeStringForRegex(s: any): string;
export function shrinkRequestOptionsForLog(request: any): any;
//# sourceMappingURL=util.d.ts.map