Regexp::Pattern::Filename::Compressed - Compressed data filename
This document describes version 0.002 of Regexp::Pattern::Filename::Compressed (from Perl distribution Regexp-Pattern-Filename-Compressed), released on 2020-05-31.
use Regexp::Pattern; # exports re() my $re = re("Filename::Compressed::filename_compressed");
This is a Regexp::Pattern wrapper for Filename::Compressed.
filename_compressed
Compressed data filename.
Examples:
No extension.
"foo" =~ re("Filename::Compressed::filename_compressed"); # DOESN'T MATCH
Not an extension.
"gz" =~ re("Filename::Compressed::filename_compressed"); # DOESN'T MATCH
Example #3.
"foo.gz" =~ re("Filename::Compressed::filename_compressed"); # matches
Case insensitive.
"foo bar.TAR.BZ2" =~ re("Filename::Compressed::filename_compressed"); # matches
Regex is anchored.
"foo.xz is the file" =~ re("Filename::Compressed::filename_compressed"); # DOESN'T MATCH
Example #6.
"foo.mp3" =~ re("Filename::Compressed::filename_compressed"); # DOESN'T MATCH
Please visit the project's homepage at https://metacpan.org/release/Regexp-Pattern-Filename-Compressed.
Source repository is at https://github.com/perlancar/perl-Regexp-Pattern-Filename-Compressed.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Filename-Compressed
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::Compressed
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::Compressed, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Pattern::Filename::Compressed
CPAN shell
perl -MCPAN -e shell install Regexp::Pattern::Filename::Compressed
For more information on module installation, please visit the detailed CPAN module installation guide.