Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: extract file name from path

by Laurent_R (Abbot)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053667]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2017-04-28 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.