Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
Replies are listed 'Best First'.
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 lurking in the Monastery: (5)
As of 2015-08-05 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (76 votes), past polls