Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: regexp question

by anneli (Pilgrim)
on Oct 28, 2011 at 06:45 UTC ( #934316=note: print w/replies, xml ) Need Help??

in reply to regexp question

Note that, in addition to MVS' answer, your demonstration here would print "end." even if it behaved as you previously expected!

Replies are listed 'Best First'.
Re^2: regexp question
by ramprasad27 (Sexton) on Oct 28, 2011 at 07:15 UTC
    oh well, you are rite but waht if I have other than '.' at the end, it doesnt match, meaning it doesnt hav special meaning inside character class

      That's correct; but .. uh, you might as well just use . for that!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://934316]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2018-07-16 22:48 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (352 votes). Check out past polls.