Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Regex to extract last 3 components of filename

by haukex (Bishop)
on May 05, 2021 at 17:00 UTC ( #11132080=note: print w/replies, xml ) Need Help??


in reply to Reaped: Re^3: Regex to extract last 3 components of filename
in thread Regex to extract last 3 components of filename

Lift it out and adapt it to your own code.

File::Spec is a core module. "Copy and paste some code out of a CPAN module" is a last resort at best.

Also be aware of the many goodies in Regexp::Common.

Regexp::Common does not handle filename manipulations.

  • Comment on Re^4: Regex to extract last 3 components of filename

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2021-07-30 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?