RE: Re[2]: [PHP] minus in [] groups in ereg

2001-09-13 Thread Johnson, Kirk

> JK> Feature. By placing a "dash" next to the
> JK> bracket, there is no confusion that the dash
> JK> is being used to specify a range.
> 
> Doesn't slash before dash mean that???

Could be, I don't know. I always put a dash next to the bracket, instead of
escaping it with a backslash. As is often the case, there is more than one
way to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re[2]: [PHP] minus in [] groups in ereg

2001-09-13 Thread Andrew Perevodchik

Hello! You wrote:

JK> Feature. By placing a "dash" next to the
JK> bracket, there is no confusion that the dash
JK> is being used to specify a range.

Doesn't slash before dash mean that???

-- 
Andrew Perevodchik
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]