#2778 closed Feature Request (Rejected)
include REGEXP function in to SQLite
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
documentation on sqlite site said:
The REGEXP operator is a special syntax for the regexp() user function. No regexp() user function is defined by default and so use of the REGEXP operator will normally result in an error message. If an application-defined SQL function named "regexp" is added at run-time, then the "X REGEXP Y" operator will be implemented as a call to "regexp(Y,X)".
so i went ahead and try but (obviously) get :
--> Error: no such function: REGEXP
so - can regexp be included in you compilation of sqlite x86/x64 dll?
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
| Version: | Other |
|---|
comment:2 by , 12 years ago
Regexp operator isn't very useful because it is so slow and contrary to LIKE and GLOB, can't benefit from any index. That's why no regexp function comes as standard.
However a simple (non-PCRE) implementation is available in the source tarball of the official website, under directory .\ext\misc\regexp.c which is ready to be compiled into an SQLite extension DLL.
comment:3 by , 12 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |

Automatic ticket cleanup.