Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Find all strings containing "a" characters, that are not followed by "b" characters.

by Not_a_Number (Parson)
on Dec 12, 2012 at 18:18 UTC ( #1008551=note: print w/ replies, xml ) Need Help??

Comment on Re^2: Find all strings containing "a" characters, that are not followed by "b" characters.
Re^3: Find all strings containing "a" characters, that are not followed by "b" characters.
by Kyshtynbai (Acolyte) on Dec 12, 2012 at 19:40 UTC
    If only I'd knew that logic operators like "and" would work with regular expressions! In my Lama book (5th edition) it is written, that they actualy DO NOT work with regexps (or something has messed up in my head :). I'll check it tomorrow, now gonna sleep). Thank you everyone, guys!

      Well, // is m//, the match operator, it is not a regexp :)

      "logical and" works with m//atch operator, not regexp

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-12-20 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls