UNPKG
@decaf-ts/for-postgres
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
template for ts projects
github.com/decaf-ts/ts-workspace
decaf-ts/ts-workspace
@decaf-ts/for-postgres
/
lib
/
esm
/
utils.d.ts
7 lines
(6 loc)
•
278 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Converts a JavaScript RegExp pattern to a PostgreSQL POSIX pattern *
@param
jsRegex JavaScript RegExp object or pattern string *
@returns
PostgreSQL compatible regex pattern string */
export
declare
function
convertJsRegexToPostgres
(
jsRegex
:
RegExp
|
string
):
string
;