https://github.com/gwenn/sqlite-regex-replace-ext
SQLite regex_replace() function
https://github.com/gwenn/sqlite-regex-replace-ext
sqlite-extension sqlite3-extension
Last synced: 10 months ago
JSON representation
SQLite regex_replace() function
- Host: GitHub
- URL: https://github.com/gwenn/sqlite-regex-replace-ext
- Owner: gwenn
- Created: 2011-09-27T17:59:29.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-05-31T11:22:35.000Z (about 1 year ago)
- Last Synced: 2025-05-31T23:31:25.931Z (about 1 year ago)
- Topics: sqlite-extension, sqlite3-extension
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 25
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
SQLite extensions that uses glib2/icu to provide a regex_replace() function.
* The glib code was adapted from the pcre match implementation by Alexey Tourbin:
http://git.altlinux.org/people/at/packages/?p=sqlite3-pcre.git
* The icu code was adapted from SQLite official extension:
https://github.com/sqlite/sqlite/blob/master/ext/icu/icu.c
See [sqlean](https://github.com/nalgeon/sqlean/blob/main/docs/regexp.md#regexp_replace) for a `pcre` based implementation.