Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Search And Replace

by theorbtwo (Prior)
on Jul 01, 2002 at 03:00 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2023-06-09 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?