Re: Please document eregi {0, 255} limit
| From: | Jakub Vrana | Date: | Wed, 07 Jul 2004 08:51:01 +0000 |
| Subject: | Re: Please document eregi {0, 255} limit | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361721@lists.php.net to get a copy of this message | ||
CJ Greiner wrote:
> It seems that while the ereg functions will search for matches in (any?)
> length code, the length limiter {0, 255} is limited to 255.
> Please add it to all applicable regular expression match items that it
> applies to.
It is written in manual entry regex.7 which is recommended to read in
Regex Introduction: "A bound is `{' followed by an unsigned decimal
integer, possibly followed by `,' possibly followed by another unsigned
decimal integer, always followed by `}'. The integers must lie between 0
and RE_DUP_MAX (255(!)) inclusive".
As there is no documentation of regular expressions syntax in PHP
manual, there shouldn't be any note about this too IMHO.
Jakub Vrana