Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 taking refuge in the Monastery: (6)
As of 2018-01-17 07:29 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (196 votes). Check out past polls.