![]() |
|
more useful options | |
PerlMonks |
Re: Search And Replaceby theorbtwo (Prior) |
on Jul 01, 2002 at 03:00 UTC ( #178456=note: print w/replies, xml ) | Need Help?? |
You might want to read How to RTFM. Specificly, you're having problems with a regular expression, so you should read perlre, and see the /i modifier near the top: "Do case-insensitive pattern matching". As to matching partals, that's exactly the normal behavor. If you want the oppisite, you have to stick ^$ in there, like /^$user$/. We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book
In Section
Seekers of Perl Wisdom
|
|