Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 rifling through the Monastery: (7)
As of 2015-07-03 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls