Fixed issues with pcre_match recursion depth
Fixed limit cached regexp hash to 2000 entries