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

Re: Question on Regex

by karlgoethebier (Prior)
on Nov 18, 2012 at 14:00 UTC ( #1004415=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $string =~ m/.+\/.+\/.+\/(.+)\/.+/;
    
    print $1;
    
  2. or download this
    $string =~m/.+\/.+\/.+\/.+\/(.+)\/.+/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004415]
help
Chatterbox?
[choroba]: Interesting Regexp::Debugger issue
[Corion]: Most likely Regexp::Debugger uses something in main:: ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-09-25 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?