0.0.1 • Published 3 years ago

portable-regex v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

portable-regex

Because a word boundary is \b unless you're in Postgres where it's \y

> portable_regex.render_postgres('{case-insensitive}tesco store.*{digit}{4}{word-boundary}');
> (?i)tesco store.*\d{4}\y
0.0.1

3 years ago