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

Re: little regex question

by vinoth.ree (Parson)
on Aug 01, 2013 at 09:53 UTC ( #1047408=note: print w/ replies, xml ) Need Help??


in reply to little regex question

Hi anaconda_wly

Why not 'at'?

The Perl Tutorial answers your questions as Both [...] and  [^...] must match a character

The special character ^ in the first position of a character class denotes a negated character class, which matches any character but those in the brackets. Both ... and ^... must match a character, or the match fails.


All is well


Comment on Re: little regex question
Select or Download Code
Re^2: little regex question
by anaconda_wly (Scribe) on Aug 01, 2013 at 10:13 UTC
    Thank loop and vinoth both. Yes I noticed ... must match a character in the tutorial but didn't understand ^... must match a character. Now I see. Thanks!

      What tutorial (link)?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-08-23 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls