Re: [pcre-dev] JIT is silently off

Pàgina inicial
Delete this message
Autor: ph10
Data:  
A: ND
CC: Pcre-dev
Assumpte: Re: [pcre-dev] JIT is silently off
On Tue, 20 Oct 2015, ND wrote:

> This pattern is 8426 times repeated '.*a'
> Why there is no '(JIT)' in answer. Why JIT don't work for this pattern?


I'm guessing, but I suspect the pattern is just too big. If you run it
under pcretest with the -i option you get:

Capturing subpattern count = 0
Options: anchored caseless extended multiline dotall
No first char
Need char = 'a' (caseless)
Subject length lower bound = 8428
No starting char list
JIT study was not successful

If you make it a lot shorter, JIT does compile it.

Philip

--
Philip Hazel