Re: Please document eregi {0, 255} limit
| From: | Mehdi Achour | Date: | Tue, 06 Jul 2004 21:16:32 +0000 |
| Subject: | Re: Please document eregi {0, 255} limit | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361716@lists.php.net to get a copy of this message | ||
Hi CJ,
Can you please fill in a bug report at http://bugs.php.net/
(documentation problem) to make sure we don't forget to take care of it?
Thank you in advance,
didou
Cj Greiner wrote:
Hi, I discovered (the hard way after hours of code troubleshooting) that ereg/eregi/etc. functions have a very useful but LIMITED length function. It seems that while the ereg functions will search for matches in (any?) length code, the length limiter {0, 255} is limited to 255. I was trying to match lengths of 350 and 800… but couldn’t figure out why I was getting an error. There’s no documentation on this anywhere that I could find. Please add it to all applicable regular expression match items that it applies to. Thanks! -- CJ Greiner info@SmithfieldEntertainment.com <mailto:info@SmithfieldEntertainment.com> http://www.SmithfieldEntertainment.com 757-356-1166