Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: grep for lines containg two variables

by Roy Johnson (Monsignor)
on Dec 07, 2005 at 19:02 UTC ( [id://514981]=note: print w/replies, xml ) Need Help??


in reply to Re: grep for lines containg two variables
in thread grep for lines containg two variables

Because it's done with lookaheads, the last example works with strings in either order. That is, in fact, why it is done with lookaheads. In my mind, lookaheads like this are the "and" that complements alternation's "or" in regexen.

Caution: Contents may have been coded under pressure.
  • Comment on Re^2: grep for lines containg two variables

Replies are listed 'Best First'.
Re^3: grep for lines containg two variables
by pileofrogs (Priest) on Dec 07, 2005 at 21:12 UTC
    Woah! Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found