Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 TicketCleanup, 12 years ago

Version: Other

Automatic ticket cleanup.

comment:2 by jchd18, 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 guinness, 12 years ago

Resolution: Rejected
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.