1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Source: libstring-dirify-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9),
libmodule-build-perl
Build-Depends-Indep: perl,
libtest-pod-perl,
perl (>= 5.21.6) | libtest-simple-perl (>= 1.001014)
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libstring-dirify-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libstring-dirify-perl.git
Homepage: https://metacpan.org/release/String-Dirify
Package: libstring-dirify-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Description: utility converting string to a safe format
String::Dirify converts a string (possibly containing high ASCII characters,
and even HTML) into another, lower-cased, string which can be used as a
directory name or URL.
.
The algorithm is as follows:
* Each high ASCII character is replaced by its normal equivalent
* The string is converted to lower case
* Any HTML (including HTML entities) in the string is removed
* Any characters which are not (Perl) words, spaces or hyphens, are removed
* Runs of spaces are converted to the separator character
|