Transformations/Any/Lt/Title.pm untested

filter: Statementstmt 0.0% 0 / 41 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 56 CC 2 SCAR 9.6
CC
2
Cov
0%
BEGIN
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.6
1 package Locale::CLDR::Transformations::Any::Lt::Title;
2 # This file auto generated from Data\common\transforms\lt-Title.xml
3 # on Fri 17 Jan 12:03:31 pm GMT
4
5 use strict;
6 use warnings;
7 use version;
8
9 our $VERSION = version->declare('v0.46.0');
10
11 use v5.12.0;
12 use mro 'c3';
13 use utf8;
14 use feature 'unicode_strings';
15 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
16 use Moo;
17
18 BEGIN {
19 die "Transliteration requires Perl 5.18 or above"
20 unless $^V ge v5.18.0;
21 }
22
23 no warnings 'experimental::regex_sets';
24 has 'transforms' => (
25 is => 'ro',
26 isa => ArrayRef,
27 init_arg => undef,
28 default => sub { [
29 qr/(?^um:\G.)/,
30 {
31 type => 'transform',
32 data => [
33 {
34 from => q(Any),
35 to => q(NFD),
36 },
37 ],
38 },
39 {
40 type => 'conversion',
41 data => [
42 {
43 before => q(\p{Cased}\p{Case_Ignorable}*),
44 after => q([^\p{ccc=Not_Reordered}\p{ccc=Above}]*\p{ccc=Above}),
45 replace => q(I),
46 result => q(i\u0307),
47 revisit => 0,
48 },
49 {
50 before => q(\p{Cased}\p{Case_Ignorable}*),
51 after => q([^\p{ccc=Not_Reordered}\p{ccc=Above}]*\p{ccc=Above}),
52 replace => q(J),
53 result => q(j\u0307),
54 revisit => 0,
55 },
56 {
57 before => q(\p{Cased}\p{Case_Ignorable}*),
58 after => q([^\p{ccc=Not_Reordered}\p{ccc=Above}]*\p{ccc=Above}),
59 replace => q(Į),
60 result => q(i\u0328\u0307),
61 revisit => 0,
62 },
63 {
64 before => q(\p{Cased}\p{Case_Ignorable}*),
65 after => q(),
66 replace => q(Ì),
67 result => q(i\u0307\u0300),
68 revisit => 0,
69 },
70 {
71 before => q(\p{Cased}\p{Case_Ignorable}*),
72 after => q(),
73 replace => q(Í),
74 result => q(i\u0307\u0301),
75 revisit => 0,
76 },
77 {
78 before => q(\p{Cased}\p{Case_Ignorable}*),
79 after => q(),
80 replace => q(Ĩ),
81 result => q(i\u0307\u0303),
82 revisit => 0,
83 },
84 {
85 before => q(\p{Cased}\p{Case_Ignorable}*),
86 after => q(),
87 replace => q((.)),
88 result => q(&Any-Lower($1)),
89 revisit => 0,
90 },
91 {
92 before => q(\p{Soft_Dotted}[^\p{ccc=Not_Reordered}\p{ccc=Above}]*),
93 after => q(),
94 replace => q(̇),
95 result => q(),
96 revisit => 0,
97 },
98 {
99 before => q(),
100 after => q(),
101 replace => q(([:Lowercase:])),
102 result => q(&Any-Upper($1)),
103 revisit => 0,
104 },
105 ],
106 },
107 {
108 type => 'transform',
109 data => [
110 {
111 from => q(Any),
112 to => q(NFC),
113 },
114 ]
115 },
116 ] },
117 );
118
119 no Moo;
120
121 1;
122
123 # vim: tabstop=4