3 ms·
Yeah. PHP syntax. From what I understand, they stuffed it in there mostly to allow easier processing of nested HTML tags and such.
by DEinspanjer 17y ago
Yeah. PHP syntax. From what I understand, they stuffed it in there mostly to allow easier processing of nested HTML tags and such.
- lucumo 17y agoI did some experimenting with recursive regexes after reading this article. I hadn't heard of it before and it sounded like an interesting concept. However, captures in the recursion can't be retrieved after it gets returned. This may not be surprising, but it does reduce the power of recursion somewhat.
- tjpick 17y agocoz you can't expect anyone using PHP to, you know, write a proper parser...