go ahead... be a heretic | |
PerlMonks |
Re: How can I combine these two regular expressions?by Fletch (Bishop) |
on Mar 05, 2021 at 14:59 UTC ( [id://11129162]=note: print w/replies, xml ) | Need Help?? |
If you need the filename separately considering the domain you might use Path::Tiny (or File::Basename) to split things up before you then apply your regex. It's semantically clearer what you're trying to do as well as isolating you from platform differences in directory separators.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|