Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

dumb regex question

by linuxfan (Beadle)
on Apr 06, 2009 at 23:57 UTC ( [id://755895]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $str =~ m,"?(/.*)"?,
    
  2. or download this
    my $str = qq( "/extend 100" );
    $str =~ m,"?(/.*)"?,;
    ...
    $perl regex.pl 
    matched=/extend 100"
    
  3. or download this
    my $str = qq(/extendMe );
    $str =~ m,"?(/.*)"?,;
    ...
    matched=/extendMe
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found