Re: Please document eregi {0, 255} limit

From: Date: Wed, 07 Jul 2004 08:52:24 +0000
Subject: Re: Please document eregi {0, 255} limit
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361722@lists.php.net to get a copy of this message
On Wed, 7 Jul 2004, Jakub Vrana wrote: > 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. I agree with that. regards, Derick

« previous php.doc (#969361722) next »