[pcre-dev] PCRE_STUDY_JIT_COMPILE option bug?

Top Page

Reply to this message
Author: Ervin Hegedüs
To: pcre-dev
Subject: [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:


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)