Re: [PHP] Re: invalid range

2002-12-02 Thread Morgan Hughes
On Mon, 2 Dec 2002, Nick Eby wrote: > looks like because you have a dash inside your character class; when inside > a character class the dash is a special character and you'd have to escape > it > eregi("^([a-zedv_\.\- ]+)$", $value); Traditionally in regexes, a dash has to come last, otherwis

[PHP] Re: invalid range

2002-12-02 Thread Nick Eby
looks like because you have a dash inside your character class; when inside a character class the dash is a special character and you'd have to escape it eregi("^([a-zåäö_\.\- ]+)$", $value); "Peter A" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... when I do thi