NAME Regexp::Pattern::Path - Regexp patterns related to path VERSION This document describes version 0.001 of Regexp::Pattern::Path (from Perl distribution Regexp-Pattern-Path), released on 2020-01-02. SYNOPSIS use Regexp::Pattern; # exports re() my $re = re("Path::filename_unix"); DESCRIPTION Regexp::Pattern is a convention for organizing reusable regex patterns. PATTERNS * filename_unix Valid filename pattern on Unix. Length must be 1-255 characters. The only characters not allowed include "\0" (null) and "/" (forward slash, for path separator). Examples: "foo" =~ re("Path::filename_unix"); # matches "foo bar" =~ re("Path::filename_unix"); # matches Too short. "" =~ re("Path::filename_unix"); # doesn't match Too long. "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" =~ re("Path::filename_unix"); # doesn't match contains slash. "foo/bar" =~ re("Path::filename_unix"); # doesn't match contains null (\0). "foo\0" =~ re("Path::filename_unix"); # doesn't match HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website 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 Regexp::Pattern AUTHOR perlancar 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.