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

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 ( #1008577=note: print w/ replies, xml ) Need Help??


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

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!


Comment on Re^3: Find all strings containing "a" characters, that are not followed by "b" characters.
Re^4: Find all strings containing "a" characters, that are not followed by "b" characters.
by Anonymous Monk on Dec 12, 2012 at 20:09 UTC

    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://1008577]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-01-30 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (254 votes), past polls