|
-
Dec 7th, 2022, 05:05 AM
#1
Re: How to enable REGEX for RC6 SQLite?
 Originally Posted by SearchingDataOnly
What Olaf is talking about RegEx doesn't seem to be just for sqlite-db. I guess he wanted to develop a generic RegEx engine that could replace JS.RegEx, which is exactly what many of us were expecting.
Might be, but wouldn't have anything to do with OP's question.
OP's question is about using the REGEXP-Operator/Function within SQL-Statements.
And in DB Browser's case i'd guess they compiled the extension and linked it statically into DB Browser itself (not into sqlite3.dll!), but "load" it into the engine on startup
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Dec 7th, 2022, 05:24 AM
#2
Re: How to enable REGEX for RC6 SQLite?
 Originally Posted by Zvoni
Might be, but wouldn't have anything to do with OP's question.
OP's question is about using the REGEXP-Operator/Function within SQL-Statements.
And in DB Browser's case i'd guess they compiled the extension and linked it statically into DB Browser itself (not into sqlite3.dll!), but "load" it into the engine on startup
I seem to remember that RC6 could use VB6 functions as custom functions for sqlite.
-
Dec 7th, 2022, 05:49 AM
#3
Re: How to enable REGEX for RC6 SQLite?
 Originally Posted by SearchingDataOnly
I seem to remember that RC6 could use VB6 functions as custom functions for sqlite.
No idea, since i never used RC6, but wouldn't surprise me, since SQLite offers to use custom Functions --> https://www.sqlite.org/appfunc.html
Applications that use SQLite can define custom SQL functions that call back into application code to compute their results. The custom SQL function implementations can be embedded in the application code itself, or can be loadable extensions.
since SQLite is written in C, it's probable that the "off-the-shelf" dll's are compile with cdecl.
I seem to remember Olaf mentioning compiling SQLite with stdcall for RichClient, so AddressOf should work
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|