Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Search And Replace

by theorbtwo (Prior)
on Jul 01, 2002 at 03:00 UTC ( [id://178456]=note: print w/replies, xml ) Need Help??


in reply to Search And Replace

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

Replies are listed 'Best First'.
Re: Re: Search And Replace
by cjf (Parson) on Jul 01, 2002 at 03:45 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://178456]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found