In the example at PHP.net, it says that the regular expression /(?:\D+|<\d+>)*[!?]/
matched against foobar foobar foobar
throws a PREG_BACKTRACK_LIMIT_ERROR
error. Can anybody explain why?
Asked
Active
Viewed 1,037 times
1 Answers
5
Incorrect nesting.

wesside
- 5,622
- 5
- 30
- 35
-
2Thanks. That is a good link. Can you tell me what is meant by the sentence **The group has one iteration it can backtrack into.** in the 2nd line of the 3rd paragraph? – SexyBeast Sep 11 '12 at 19:02