On Nov 26, Sidharth Malhotra said:

>It will only match anything beginning with "daniel": "daniel",
>"daniella", "danielson", "daniel smith"  ....
>If you specifically want to match only "daniel" try:
>/^$user$/

But there's no reason to use a regex for that.  Please read my recent
document on this:

  http://japhy.perlmonk.org/docs/regex-vs-eq

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to