Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: extract file name from path

by Laurent_R (Monsignor)
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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-11-28 16:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls