Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: String matching and Regular Expressions

by iza (Monk)
on Mar 14, 2002 at 13:10 UTC ( #151657=note: print w/ replies, xml ) Need Help??


in reply to String matching and Regular Expressions

even after reading the tutorial and the perlman:perlre page, i still don't understand why everywhere it is said to use s/// or m//, and every example use ~s/// or ~m// - i mean, i don't understand where this ~ comes from and what it means ...


Comment on Re: String matching and Regular Expressions
Re: Re: String matching and Regular Expressions
by rdfield (Priest) on Mar 14, 2002 at 13:18 UTC
    It's not ~s and ~m but =~. See perlop for details.

    rdfield

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (20)
As of 2014-07-24 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (162 votes), past polls