note 35041 added to function.preg-grep
| From: | test at me dot com | Date: | Sun, 17 Aug 2003 11:40:22 +0000 |
| Subject: | note 35041 added to function.preg-grep | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54528@lists.php.net to get a copy of this message | ||
What if I would want to test for a line that is over 500 characters. I also wanted to extract that
one long line. Doing this did not work.
preg_match("/(.{500,})\n/", $line, $matches)
----
Manual Page -- http://www.php.net/manual/en/function.preg-grep.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35041
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35041&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35041&report=yes