Regexp::Pattern::Filename::Archive - Archive filename
This document describes version 0.002 of Regexp::Pattern::Filename::Archive (from Perl distribution Regexp-Pattern-Filename-Archive), released on 2020-05-31.
use Regexp::Pattern; # exports re() my $re = re("Filename::Archive::filename_archive");
This is a Regexp::Pattern wrapper for Filename::Archive.
filename_archive
Archive filename.
Examples:
No extension.
"foo" =~ re("Filename::Archive::filename_archive"); # DOESN'T MATCH
Not an extension.
"zip" =~ re("Filename::Archive::filename_archive"); # DOESN'T MATCH
Example #3.
"foo.zip" =~ re("Filename::Archive::filename_archive"); # matches
Plus compression.
"foo.tar.gz" =~ re("Filename::Archive::filename_archive"); # matches
Case insensitive.
"foo bar.TBZ" =~ re("Filename::Archive::filename_archive"); # matches
Regex is anchored.
"foo.ARJ is the file" =~ re("Filename::Archive::filename_archive"); # DOESN'T MATCH
Example #7.
"foo.txt" =~ re("Filename::Archive::filename_archive"); # DOESN'T MATCH
Please visit the project's homepage at https://metacpan.org/release/Regexp-Pattern-Filename-Archive.
Source repository is at https://github.com/perlancar/perl-Regexp-Pattern-Filename-Archive.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Filename-Archive
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Filename::Archive
Regexp::Pattern
Some utilities related to Regexp::Pattern: App::RegexpPatternUtils, rpgrep from App::rpgrep.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2020 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Regexp::Pattern::Filename::Archive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Pattern::Filename::Archive
CPAN shell
perl -MCPAN -e shell install Regexp::Pattern::Filename::Archive
For more information on module installation, please visit the detailed CPAN module installation guide.