[pcre-dev] Why Greedy Recursion Happens?

Top Page
Delete this message
Author: NN
Date:  
To: Pcre-dev
Subject: [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.