note 77983 added to function.preg-match-all
| From: | Borszczuk at osu1 dot php dot net | Date: | Sat, 22 Sep 2007 19:46:33 +0000 |
| Subject: | note 77983 added to function.preg-match-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130693@lists.php.net to get a copy of this message | ||
Seems preg_match_all() got some kind of size limitation. I was just trying to match with simple
pattern like: <foo>(.*)</foo>. But I was unable to make it work, even there's
hardly a way to make this pattern wrong. The key seems to be in the size of the one block that
matches -> all what between foo tags was about 1600 lines of text and 160KB total. I am unable to
find anything about this bug/feature.
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31)
----
Server IP: 195.136.184.34
Probable Submitter: 81.190.127.69
----
Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php
Edit -- https://master.php.net/note/edit/77983
Del: integrated -- https://master.php.net/note/delete/77983/integrated
Del: useless -- https://master.php.net/note/delete/77983/useless
Del: bad code -- https://master.php.net/note/delete/77983/bad+code
Del: spam -- https://master.php.net/note/delete/77983/spam
Del: non-english -- https://master.php.net/note/delete/77983/non-english
Del: in docs -- https://master.php.net/note/delete/77983/in+docs
Del: other reasons-- https://master.php.net/note/delete/77983
Reject -- https://master.php.net/note/reject/77983
Search -- https://master.php.net/manage/user-notes.php