Re: [PHP] Regular expression problems

2001-02-25 Thread Simon Garner
From: "Dan Watt" <[EMAIL PROTECTED]> > ok, that was my problem Was using ereg... All the places I read about > how to do regular expressions (book, online...) did NOT clarify that \w and > such would need preg.. Thanks! > No prob - yeah, \w is a Perl feature :) (preg = PCRE = Perl Compatib

Re: [PHP] Regular expression problems

2001-02-25 Thread Dan Watt
ok, that was my problem Was using ereg... All the places I read about how to do regular expressions (book, online...) did NOT clarify that \w and such would need preg.. Thanks! ""Simon Garner"" <[EMAIL PROTECTED]> wrote in message 022d01c09fa6$a2bbd460$[EMAIL PROTECTED]">news:022d01c09fa6$a2b

Re: [PHP] Regular expression problems

2001-02-25 Thread Simon Garner
From: "Dan Watt" <[EMAIL PROTECTED]> > Im trying to build a user login system, and when there is a new user, I need > to validate that they are usign using word characters ([0-9A-Za-z_] or > \w)... I have TRIED MANY different regular expressions to test this, but > none work. This seems so simple

[PHP] Regular expression problems

2001-02-25 Thread Dan Watt
Im trying to build a user login system, and when there is a new user, I need to validate that they are usign using word characters ([0-9A-Za-z_] or \w)... I have TRIED MANY different regular expressions to test this, but none work. This seems so simple but I am missing something. I need a expressi