Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: extract file name from path

by Laurent_R (Vicar)
on Sep 12, 2013 at 07:52 UTC ( #1053667=note: print w/ replies, xml ) Need Help??


in reply to Re: extract file name from path
in thread extract file name from path

I think that you need to add the underscore ('_') to the character class in your regex.

Update: I read too quickly. Reading again your regex, no, there is no need to add the underscore, since this character class is aimed at matching the final "java" extension.


Comment on Re^2: extract file name from path

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-08-20 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (115 votes), past polls