Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Regular Expression GUI?

by zentara (Archbishop)
on Apr 10, 2002 at 21:15 UTC ( [id://158144]=note: print w/replies, xml ) Need Help??


in reply to Regular Expression GUI?

What about the old standard?
#!/usr/bin/perl use warnings; print "Please enter your test pattern \n"; chomp($pattern = <STDIN>); print "Please enter your test strings, 1 at a time,\n"; print "if a match occurs, your pattern will be echoed.\n"; while(<>){ # print if m!your pattern here!; print if m!$pattern!; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 01:21 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found