[sqlite] SQLite custom function for regular expression using c/c++

2016-05-12 Thread Bhagwat Balshetwar
Hi, Can you provide me link of PCRE support for SQLite. I need to install it on Linux RHEL ES Release 4 with i686. -Bhagwat On Mon, May 9, 2016 at 6:18 PM, Chris Brody wrote: > On Mon, May 9, 2016 at 2:20 PM, Richard Hipp wrote: > > On 5/9/16, Chris Brody wrote: > >> On Wed, May 4, 2016

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-12 Thread Warren Young
On May 12, 2016, at 7:36 AM, Bhagwat Balshetwar wrote: > > Can you provide me link of PCRE support for SQLite. I need to install it on > Linux RHEL ES Release 4 with i686. First Google result for ?sqlite pcre?: https://github.com/ralight/sqlite3-pcre

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-09 Thread Chris Brody
On Mon, May 9, 2016 at 2:20 PM, Richard Hipp wrote: > On 5/9/16, Chris Brody wrote: >> On Wed, May 4, 2016 at 2:52 PM, Richard Hipp wrote: >>> On 5/4/16, Bhagwat Balshetwar wrote: I want to write the custom function for regular expression using C/C++. >>> >>> You mean like this one: >>>

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-09 Thread Chris Brody
On Wed, May 4, 2016 at 2:52 PM, Richard Hipp wrote: > On 5/4/16, Bhagwat Balshetwar wrote: >> I want to write the custom function for regular expression using C/C++. > > You mean like this one: https://www.sqlite.org/src/artifact/a68d25c659bd2d89 Is there any reason this cannot be included as

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-09 Thread Richard Hipp
On 5/9/16, Chris Brody wrote: > On Wed, May 4, 2016 at 2:52 PM, Richard Hipp wrote: >> On 5/4/16, Bhagwat Balshetwar wrote: >>> I want to write the custom function for regular expression using C/C++. >> >> You mean like this one: >> https://www.sqlite.org/src/artifact/a68d25c659bd2d89 > > Is

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-05 Thread Acer Yang
Hi Bhagwat, I try to accomplish that with sqlite3cpp ( https://github.com/yangacer/sqlite3cpp), a light wrapper of sqlite3 for C++. Hope it help :-) // Require sqlite3cpp to be installed from source. // Compile with: clang++-3.6 -g sqlite_re.cpp -lsqlite3cpp -lsqlite3 -std=c++11 //

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-05 Thread Bhagwat Balshetwar
Hello Richard, Thanks for your help. https://www.sqlite.org/src/artifact/a68d25c659bd2d89 I copy the content of above URL As C code in newfunction.c and perform the following action, 1) gcc -shared -Isqlite3 -o newfunction.sqlext newfunction.c (using MinGW for compilation) 2) .load

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-05 Thread Richard Hipp
On 5/5/16, Bhagwat Balshetwar wrote: > Hello Richard, > > Thanks for your help. > > https://www.sqlite.org/src/artifact/a68d25c659bd2d89 > I copy the content of above URL As C code in newfunction.c and perform the > following action, > > 1) gcc -shared -Isqlite3 -o newfunction.sqlext

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-04 Thread Bhagwat Balshetwar
I want to write the custom function for regular expression using C/C++. How to write it. Is there the document/sample code available on this. -Bhagwat

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-04 Thread Christian Schmitz
> Am 04.05.2016 um 14:25 schrieb Bhagwat Balshetwar gmail.com>: > > I want to write the custom function for regular expression using C/C++. > How to write it. Is there the document/sample code available on this. > Of course. Google is your friend. Maybe start reading here:

[sqlite] SQLite custom function for regular expression using c/c++

2016-05-04 Thread Richard Hipp
On 5/4/16, Bhagwat Balshetwar wrote: > I want to write the custom function for regular expression using C/C++. You mean like this one: https://www.sqlite.org/src/artifact/a68d25c659bd2d89 -- D. Richard Hipp drh at sqlite.org