|
Posted by Toby A Inkster on 05/29/07 19:10
e_matthes wrote:
> $acceptableTextRegExp = "/^[a-zA-Z0-9_\- ]\{$minLengthIn, $maxLengthIn}/";
$acceptableTextRegExp = sprintf('/^[a-zA-Z0-9 _-]{%d,%d}$/',
(int)$minLengthIn,
(int)$maxLengthIn);
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 2:52.]
Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
Navigation:
[Reply to this message]
|