Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Regexp - exact matches

by isotope (Deacon)
on Jul 30, 2003 at 18:20 UTC ( [id://279305]=note: print w/replies, xml ) Need Help??


in reply to Re: Regexp - exact matches
in thread Regexp - exact matches

Looks to me like $LookFor is a string to be used as the regular expression. In the second line, he's building it with the contents of $srch_host as an exact match, using double quotes, so for the ending anchor $ to be included literally he has to escape it. That said, I don't think he's included enough of the code to find where the problem lies.

--isotope

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found