[pcre-dev] PCRE_STUDY_JIT_COMPILE option bug?

Kezdőlap
Üzenet törlése
Szerző: Ervin Hegedüs
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] PCRE_STUDY_JIT_COMPILE option bug?
He all,

I run into a problem, it would be good to get some help.

Here is the test code:

https://www.dropbox.com/s/qimi2aekk505r0r/pcre_test.c

The problem is that if I check the pattern in subject, and
called pcre_study() before the pcre_exec() with option
PCRE_STUDY_JIT_COMPILE, then it doesn't matches. With option=0 it
worked as well.

Could anybody helps to explain, what's wrong? Eg. the pattern? Or
my code?

Version: 8.39 14-June-2016
gcc version 8.2.0 (Debian 8.2.0-13)


Thanks,


a.