Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: search for exact string

by Anonymous Monk
on Apr 24, 2019 at 11:08 UTC ( [id://1232935]=note: print w/replies, xml ) Need Help??


in reply to Re: search for exact string
in thread search for exact string

I copy pasted if($line=~m/\b$toFind(?=^\w\.+|$)/i) and it worked for my requirement... Thank you so much :) I will be thankfull if you also can explain how it work?

Replies are listed 'Best First'.
Re^3: search for exact string
by roboticus (Chancellor) on Apr 24, 2019 at 12:42 UTC

    Anonymous Monk:

    If you'd just read the other reply to the node you've resurrected, it would tell you what the regular expression means.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found