[pcre-dev] PCRE2 SVN 397: testinput9 fails with LINK_SIZE !=…

Page principale
Supprimer ce message
Auteur: Ralf Junker
Date:  
À: pcre-dev@exim.org
Sujet: [pcre-dev] PCRE2 SVN 397: testinput9 fails with LINK_SIZE != 2
PCRE2 SVN 397 adds this to testoutput9:

/(?'ABC'\[[bar](]{106}*THEN:\[A]{255}\[)]{107}/expand
Failed: error 186 at offset 637: regular expression is too complicated

However, with LINK_SIZE = 3 the expression is not too complicated and
the test passes.

A possible solution would be to move the test to testinput8.

To cover the scenario, additional tests targeted at LINK_SIZE = 3 and 4
would be nice to have.

Ralf