NAME

Regexp::Pattern::Filename::Archive - Archive filename

VERSION

This document describes version 0.002 of Regexp::Pattern::Filename::Archive (from Perl distribution Regexp-Pattern-Filename-Archive), released on 2020-05-31.

SYNOPSIS

use Regexp::Pattern; # exports re()
my $re = re("Filename::Archive::filename_archive");

DESCRIPTION

This is a Regexp::Pattern wrapper for Filename::Archive.

PATTERNS

  • 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

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Regexp-Pattern-Filename-Archive.

SOURCE

Source repository is at https://github.com/perlancar/perl-Regexp-Pattern-Filename-Archive.

BUGS

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.

SEE ALSO

Filename::Archive

Regexp::Pattern

Some utilities related to Regexp::Pattern: App::RegexpPatternUtils, rpgrep from App::rpgrep.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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.