Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: little regex question

by VGavara (Novice)
on Aug 01, 2013 at 10:51 UTC ( #1047421=note: print w/ replies, xml ) Need Help??

in reply to Re: little regex question
in thread little regex question

Just note the difference between these two regular expressions:


Your regex, will match any expression with three characters where the first one is not 'a' and the rest is 'at'


The regex you would expect, will match any expression ending with 'at' and starting AT MOST (repetition operator ?) by any character not being 'a'

Not the suitable place to post it since it seems I'm answering to Loops, sorry. The response was directed to anaconda

Comment on Re: little regex question
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-11-26 12:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls