Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re:{2} Regular expression and

by jeroenes (Priest)
on Nov 13, 2001 at 16:18 UTC ( #125035=note: print w/replies, xml ) Need Help??


in reply to Re: Regular expression and
in thread Regular expression for two required words

Two nitbits:
  1. You don't need the 's' modifier there, as the you already have the string in one line;
  2. This is a place to use grep as a filter: @matched  = grep /.../, <DATA>;

Jeroen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125035]
help
Chatterbox?
[Your Mother]: Possible... hadn't thought of that.
[holli]: cats dont show pain easily. how did you notice?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-12-18 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (489 votes). Check out past polls.

    Notices?