[pcre-dev] Why Greedy Recursion Happens?

Page principale
Supprimer ce message
Auteur: NN
Date:  
À: Pcre-dev
Sujet: [pcre-dev] Why Greedy Recursion Happens?
Hi, Philip!

Why regexp
((?!aaa).)+
eats so much resources?
Subject string is less then 40 kB length without 'aaa', but i get
PCRE_ERROR_RECURSIONLIMIT or PCRE_ERROR_MATCHLIMIT

Regards, Michael.