pgpcre
Perl Compatible Regular Expression functions
Repository
petere/pgpcre
https://github.com/petere/pgpcre
Source
pgpcre-0.20190509.tar.gz
pgpcre-0.20190509.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgpcre | 0.20190509 | UTIL | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4230 | pgpcre | No | Yes | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | MIXED | 0.20190509 | 1817161514 | pgpcre | - |
| RPM | PIGSTY | 0.20190509 | 1817161514 | pgpcre_$v | - |
| DEB | PGDG | 0.20190509 | 1817161514 | postgresql-$v-pgpcre | - |
Build
You can build the RPM packages for pgpcre using pig build:
Install
You can install pgpcre directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
pgpcre: Perl-compatible regular expressions (PCRE) for PostgreSQL
Provides a pcre data type and operators/functions for PCRE pattern matching.
Basic Matching
Reverse operand order:
Case-Insensitive Matching
Extract Matched String
Extract Captured Substrings
Storing Regular Expressions
The pcre type can be stored in table columns. The binary form contains the compiled regex, tied to the PCRE library version. After a PCRE library upgrade, recompile stored values:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)