Yes of course - the answer is: didn't even know that a default do exist.
Sorry!

Grabbed the regexp.c compiled it - and yes - it works - plain and simple!

Thanks a lot!

For the archive if someone else try to compile it:

gcc -s -O4 -I c:\sqlite\src\ -shared -o c:\sqlite\bin\regexp.dll
c:\sqlite\ext\misc\regexp.c

-----Urspr?ngliche Nachricht-----
Von: sqlite-users-bounces at mailinglists.sqlite.org
[mailto:sqlite-users-bounces at mailinglists.sqlite.org] Im Auftrag von Richard
Hipp
Gesendet: Dienstag, 19. Mai 2015 00:34
An: General Discussion of SQLite Database
Betreff: Re: [sqlite] REGEXP pcre DLL for Windows

On 5/18/15, Keith Medcalf <kmedcalf at dessus.com> wrote:
>
> Is there any reason why the default REGEXP is unsuitable?
>
> ext/misc/regexp.c
>
> in the source distribution ...
>

Just in case it helps to answer the above question....

The RE syntax recognized by regexp.c is summarized in the header comment
which can be perused here:
https://www.sqlite.org/src/artifact/af92cdaa5058fcec

The RE syntax recognized by regexp.c is a subset of PCRE.  (The languages
recognized by PCRE actually go beyond true Regular Expressions - but that is
a topic for purists and theoreticians.)  On the other hand, the regexp.c
matcher is guaranteed to run in constant time (relative to the size of the
string being scanned) whereas PCREs can run in exponential time for certain
pathological cases.
--
D. Richard Hipp
drh at sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users at mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to