RE: [PHP] Ereg sass[Scanned]
| From: | Michael Egan | Date: | Tue, 18 Mar 2003 09:27:28 +0000 |
| Subject: | RE: [PHP] Ereg sass[Scanned] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140088@lists.php.net to get a copy of this message | ||
Try
[A-Za-z0-9_\-\.]*
-----Original Message-----
From: Liam Gibbs [mailto:liamgibbs@sympatico.ca]
Sent: 18 March 2003 08:52
To: php list
Subject: Re: [PHP] Ereg sass[Scanned]
> try two backslashes to escape php special characters
Tried that with the same result.
> I'm not sure why, but I can't include a period in my eregi statement:
>
> [A-Za-z0-9_-.]*
>
> For this, I get Warning: ereg() [function.ereg]: REG_ERANGE in
> /home/website/public_html/Functions.inc on line 27
>
> The same goes for [A-Za-z0-9_-\.]*
>
> Anyone know why?
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php