| 1 | package Regexp::CharClasses; | ||||||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||||||
| 3 | 12 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 4 | 12 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||||||||||||||||
| 6 | 12 | ▶ | use 5.010; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||||||||||
| 8 | 12 | ▶ | use Exporter (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 9 | 12 | ▶ | use charnames (); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||
| 11 | 12 | our @ISA = qw (Exporter); | |||||||||||||||||||||||||||||||||||||||||
| 12 | 12 | our $VERSION = '2015112801'; | |||||||||||||||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||||||||||||||||
| 14 | 12 | our %EXPORT_TAGS = ( | |||||||||||||||||||||||||||||||||||||||||
| 15 | digits => [qw [IsDigit0 IsDigit1 IsDigit2 IsDigit3 IsDigit4 | ||||||||||||||||||||||||||||||||||||||||||
| 16 | IsDigit5 IsDigit6 IsDigit7 IsDigit8 IsDigit9 | ||||||||||||||||||||||||||||||||||||||||||
| 17 | IsLatinDigit]], | ||||||||||||||||||||||||||||||||||||||||||
| 18 | perl => [qw [IsPerlSigil IsLeftParen IsRightParen IsParen]], | ||||||||||||||||||||||||||||||||||||||||||
| 19 | english => [qw [IsLcVowel IsUcVowel IsVowel | ||||||||||||||||||||||||||||||||||||||||||
| 20 | IsLcConsonant IsUcConsonant IsConsonant]], | ||||||||||||||||||||||||||||||||||||||||||
| 21 | encode => [qw [IsUuencode IsBase64 IsBase64url IsBase32 IsBase32hex | ||||||||||||||||||||||||||||||||||||||||||
| 22 | IsBase16 IsBinHex]], | ||||||||||||||||||||||||||||||||||||||||||
| 23 | ); | ||||||||||||||||||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||||||||||||||||
| 25 | # | ||||||||||||||||||||||||||||||||||||||||||
| 26 | # @EXPORT is defined at the bottom of the file. | ||||||||||||||||||||||||||||||||||||||||||
| 27 | # | ||||||||||||||||||||||||||||||||||||||||||
| 28 | |||||||||||||||||||||||||||||||||||||||||||
| 29 | 31 | ▶ | sub _d { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
_d: called CC=2 SCAR=6.9
| |||||||||||||||||||||||||||||||||||||||||||
| 30 | 31 | my $number = shift; | |||||||||||||||||||||||||||||||||||||||||
| 31 | join "\n" => map { | ||||||||||||||||||||||||||||||||||||||||||
| 32 | 31 | ▶ | my $char = $_ ? "$_ DIGIT $number" : "DIGIT $number"; | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||
| 33 | 899 | sprintf "%04X" => charnames::vianame ($char) | |||||||||||||||||||||||||||||||||||||||||
| 34 | } @_; | ||||||||||||||||||||||||||||||||||||||||||
| 35 | } | ||||||||||||||||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||||||||||||||||
| 37 | 14 | ▶ | sub _n { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
_n: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 38 | join "\n" => map { | ||||||||||||||||||||||||||||||||||||||||||
| 39 | 14 | s/^\s+//; | |||||||||||||||||||||||||||||||||||||||||
| 40 | 113 | sprintf "%04X" => charnames::vianame ($_) | |||||||||||||||||||||||||||||||||||||||||
| 41 | } split "\n" => shift; | ||||||||||||||||||||||||||||||||||||||||||
| 42 | } | ||||||||||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||||||||||
| 44 | 32 | ▶ | sub __ { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 45 | 32 | local $_ = shift; | |||||||||||||||||||||||||||||||||||||||||
| 46 | 32 | s/^\s+//mg; | |||||||||||||||||||||||||||||||||||||||||
| 47 | 32 | $_; | |||||||||||||||||||||||||||||||||||||||||
| 48 | } | ||||||||||||||||||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||||||||||||||||
| 50 | # | ||||||||||||||||||||||||||||||||||||||||||
| 51 | # I'd prefer 'state', but that gives errors. | ||||||||||||||||||||||||||||||||||||||||||
| 52 | # | ||||||||||||||||||||||||||||||||||||||||||
| 53 | 12 | my $digits = [map {s/^\s+//; $_} split "\n" => <<"--"]; | |||||||||||||||||||||||||||||||||||||||||
| 54 | |||||||||||||||||||||||||||||||||||||||||||
| 55 | ARABIC-INDIC | ||||||||||||||||||||||||||||||||||||||||||
| 56 | EXTENDED ARABIC-INDIC | ||||||||||||||||||||||||||||||||||||||||||
| 57 | NKO | ||||||||||||||||||||||||||||||||||||||||||
| 58 | DEVANAGARI | ||||||||||||||||||||||||||||||||||||||||||
| 59 | BENGALI | ||||||||||||||||||||||||||||||||||||||||||
| 60 | GURMUKHI | ||||||||||||||||||||||||||||||||||||||||||
| 61 | GUJARATI | ||||||||||||||||||||||||||||||||||||||||||
| 62 | ORIYA | ||||||||||||||||||||||||||||||||||||||||||
| 63 | TAMIL | ||||||||||||||||||||||||||||||||||||||||||
| 64 | TELUGU | ||||||||||||||||||||||||||||||||||||||||||
| 65 | KANNADA | ||||||||||||||||||||||||||||||||||||||||||
| 66 | MALAYALAM | ||||||||||||||||||||||||||||||||||||||||||
| 67 | THAI | ||||||||||||||||||||||||||||||||||||||||||
| 68 | LAO | ||||||||||||||||||||||||||||||||||||||||||
| 69 | TIBETAN | ||||||||||||||||||||||||||||||||||||||||||
| 70 | MYANMAR | ||||||||||||||||||||||||||||||||||||||||||
| 71 | KHMER | ||||||||||||||||||||||||||||||||||||||||||
| 72 | MONGOLIAN | ||||||||||||||||||||||||||||||||||||||||||
| 73 | LIMBU | ||||||||||||||||||||||||||||||||||||||||||
| 74 | NEW TAI LUE | ||||||||||||||||||||||||||||||||||||||||||
| 75 | BALINESE | ||||||||||||||||||||||||||||||||||||||||||
| 76 | FULLWIDTH | ||||||||||||||||||||||||||||||||||||||||||
| 77 | OSMANYA | ||||||||||||||||||||||||||||||||||||||||||
| 78 | MATHEMATICAL BOLD | ||||||||||||||||||||||||||||||||||||||||||
| 79 | MATHEMATICAL DOUBLE-STRUCK | ||||||||||||||||||||||||||||||||||||||||||
| 80 | MATHEMATICAL SANS-SERIF | ||||||||||||||||||||||||||||||||||||||||||
| 81 | MATHEMATICAL SANS-SERIF BOLD | ||||||||||||||||||||||||||||||||||||||||||
| 82 | MATHEMATICAL MONOSPACE | ||||||||||||||||||||||||||||||||||||||||||
| 83 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 84 | |||||||||||||||||||||||||||||||||||||||||||
| 85 | 12 | my $numbers = [map {s/^\s+//; $_} split "\n" => <<"--"]; | |||||||||||||||||||||||||||||||||||||||||
| 86 | ZERO | ||||||||||||||||||||||||||||||||||||||||||
| 87 | ONE | ||||||||||||||||||||||||||||||||||||||||||
| 88 | TWO | ||||||||||||||||||||||||||||||||||||||||||
| 89 | THREE | ||||||||||||||||||||||||||||||||||||||||||
| 90 | FOUR | ||||||||||||||||||||||||||||||||||||||||||
| 91 | FIVE | ||||||||||||||||||||||||||||||||||||||||||
| 92 | SIX | ||||||||||||||||||||||||||||||||||||||||||
| 93 | SEVEN | ||||||||||||||||||||||||||||||||||||||||||
| 94 | EIGHT | ||||||||||||||||||||||||||||||||||||||||||
| 95 | NINE | ||||||||||||||||||||||||||||||||||||||||||
| 96 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 97 | |||||||||||||||||||||||||||||||||||||||||||
| 98 | 3 | ▶ | sub IsDigit0 {state $return = _d ZERO => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit0: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 99 | 4 | ▶ | sub IsDigit1 {state $return = _d ONE => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit1: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 100 | 3 | ▶ | sub IsDigit2 {state $return = _d TWO => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit2: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 101 | 3 | ▶ | sub IsDigit3 {state $return = _d THREE => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit3: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 102 | 3 | ▶ | sub IsDigit4 {state $return = _d FOUR => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit4: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 103 | 3 | ▶ | sub IsDigit5 {state $return = _d FIVE => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit5: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 104 | 3 | ▶ | sub IsDigit6 {state $return = _d SIX => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit6: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 105 | 3 | ▶ | sub IsDigit7 {state $return = _d SEVEN => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit7: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 106 | 3 | ▶ | sub IsDigit8 {state $return = _d EIGHT => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit8: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 107 | 3 | ▶ | sub IsDigit9 {state $return = _d NINE => @$digits} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsDigit9: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 108 | |||||||||||||||||||||||||||||||||||||||||||
| 109 | 12 | foreach my $language (@$digits) { | |||||||||||||||||||||||||||||||||||||||||
| 110 | 348 | ▶ | next if !$language; | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||
| 111 | 336 | my $t_name = join "" => map {ucfirst lc} split /\W+/ => $language; | |||||||||||||||||||||||||||||||||||||||||
| 112 | 336 | my $sub_name = "Is${t_name}Digit"; | |||||||||||||||||||||||||||||||||||||||||
| 113 | 336 | push @{$EXPORT_TAGS {digits}} => $sub_name; | |||||||||||||||||||||||||||||||||||||||||
| 114 | 336 | ▶ | if ($language eq "FULLWIDTH" || $language =~ /^MATHEMATICAL/ | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%6/6
$language eq "FULLWIDTH" or $language =~ /^MATHEMATICAL/ or $language =~ /ARABIC-INDIC$/
$language eq "FULLWIDTH" or $language =~ /^MATHEMATICAL/
MC/DC100%3/3
$language eq "FULLWIDTH" or $language =~ /^MATHEMATICAL/ or $language =~ /ARABIC-INDIC$/
$language eq "FULLWIDTH"
$language =~ /^MATHEMATICAL/
$language =~ /ARABIC-INDIC$/
Truth table100%4/4
A or B or C
A= $language eq "FULLWIDTH"B= $language =~ /^MATHEMATICAL/C= $language =~ /ARABIC-INDIC$/
| |||||||||||||||||||||||||||||||||||||||||||
| 115 | || $language =~ /ARABIC-INDIC$/) { | ||||||||||||||||||||||||||||||||||||||||||
| 116 | 1 | ▶ | eval <<" --"; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsArabicIndicDigit: called CC=1 SCAR=0.0
Subroutine
IsExtendedArabicIndicDigit: called CC=1 SCAR=0.0
Subroutine
IsFullwidthDigit: called CC=1 SCAR=0.0
Subroutine
IsMathematicalBoldDigit: called CC=1 SCAR=0.0
Subroutine
IsMathematicalDoubleStruckDigit: called CC=1 SCAR=0.0
Subroutine
IsMathematicalMonospaceDigit: called CC=1 SCAR=0.0
Subroutine
IsMathematicalSansSerifBoldDigit: called CC=1 SCAR=0.0
Subroutine
IsMathematicalSansSerifDigit: called CC=1 SCAR=0.0
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 117 | sub $sub_name { | ||||||||||||||||||||||||||||||||||||||||||
| 118 | state \$return = _n join "\n" => | ||||||||||||||||||||||||||||||||||||||||||
| 119 | map {"$language DIGIT \$_"} \@\$numbers; | ||||||||||||||||||||||||||||||||||||||||||
| 120 | } | ||||||||||||||||||||||||||||||||||||||||||
| 121 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 122 | 96 | ▶ | die $@ if $@; | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||
| 123 | } | ||||||||||||||||||||||||||||||||||||||||||
| 124 | else { | ||||||||||||||||||||||||||||||||||||||||||
| 125 | 2 | ▶ | eval <<" --"; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBalineseDigit: called CC=1 SCAR=0.0
Subroutine
IsBengaliDigit: called CC=1 SCAR=0.0
Subroutine
IsDevanagariDigit: called CC=1 SCAR=0.0
Subroutine
IsGujaratiDigit: called CC=1 SCAR=0.0
Subroutine
IsGurmukhiDigit: called CC=1 SCAR=0.0
Subroutine
IsKannadaDigit: called CC=1 SCAR=0.0
Subroutine
IsKhmerDigit: called CC=1 SCAR=0.0
Subroutine
IsLaoDigit: called CC=1 SCAR=0.0
Subroutine
IsLimbuDigit: called CC=1 SCAR=0.0
Subroutine
IsMalayalamDigit: called CC=1 SCAR=0.0
Subroutine
IsMongolianDigit: called CC=1 SCAR=0.0
Subroutine
IsMyanmarDigit: called CC=1 SCAR=0.0
Subroutine
IsNewTaiLueDigit: called CC=1 SCAR=0.0
Subroutine
IsNkoDigit: called CC=1 SCAR=0.0
Subroutine
IsOriyaDigit: called CC=1 SCAR=0.0
Subroutine
IsOsmanyaDigit: called CC=1 SCAR=0.0
Subroutine
IsTamilDigit: called CC=1 SCAR=0.0
Subroutine
IsTeluguDigit: called CC=1 SCAR=0.0
Subroutine
IsThaiDigit: called CC=1 SCAR=0.0
Subroutine
IsTibetanDigit: called CC=1 SCAR=0.0
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 126 | sub $sub_name {state \$return = __ <<" --"} | ||||||||||||||||||||||||||||||||||||||||||
| 127 | +utf8::Is${t_name} | ||||||||||||||||||||||||||||||||||||||||||
| 128 | &utf8::IsDigit | ||||||||||||||||||||||||||||||||||||||||||
| 129 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 130 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 131 | 240 | ▶ | die $@ if $@; | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||
| 132 | } | ||||||||||||||||||||||||||||||||||||||||||
| 133 | } | ||||||||||||||||||||||||||||||||||||||||||
| 134 | |||||||||||||||||||||||||||||||||||||||||||
| 135 | 1 | ▶ | sub IsLatinDigit { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsLatinDigit: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 136 | 1 | state $return = _n join "\n" => map {"DIGIT $_"} @$numbers | |||||||||||||||||||||||||||||||||||||||||
| 137 | } | ||||||||||||||||||||||||||||||||||||||||||
| 138 | |||||||||||||||||||||||||||||||||||||||||||
| 139 | 1 | ▶ | sub IsPerlSigil {state $return = _n <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsPerlSigil: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 140 | DOLLAR SIGN | ||||||||||||||||||||||||||||||||||||||||||
| 141 | PERCENT SIGN | ||||||||||||||||||||||||||||||||||||||||||
| 142 | AMPERSAND | ||||||||||||||||||||||||||||||||||||||||||
| 143 | ASTERISK | ||||||||||||||||||||||||||||||||||||||||||
| 144 | COMMERCIAL AT | ||||||||||||||||||||||||||||||||||||||||||
| 145 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 146 | |||||||||||||||||||||||||||||||||||||||||||
| 147 | 2 | ▶ | sub IsLeftParen {state $return = _n <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsLeftParen: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 148 | LEFT PARENTHESIS | ||||||||||||||||||||||||||||||||||||||||||
| 149 | LESS-THAN SIGN | ||||||||||||||||||||||||||||||||||||||||||
| 150 | LEFT SQUARE BRACKET | ||||||||||||||||||||||||||||||||||||||||||
| 151 | LEFT CURLY BRACKET | ||||||||||||||||||||||||||||||||||||||||||
| 152 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 153 | |||||||||||||||||||||||||||||||||||||||||||
| 154 | 2 | ▶ | sub IsRightParen {state $return = _n <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsRightParen: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 155 | RIGHT PARENTHESIS | ||||||||||||||||||||||||||||||||||||||||||
| 156 | GREATER-THAN SIGN | ||||||||||||||||||||||||||||||||||||||||||
| 157 | RIGHT SQUARE BRACKET | ||||||||||||||||||||||||||||||||||||||||||
| 158 | RIGHT CURLY BRACKET | ||||||||||||||||||||||||||||||||||||||||||
| 159 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 160 | |||||||||||||||||||||||||||||||||||||||||||
| 161 | 1 | ▶ | sub IsParen {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsParen: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 162 | +Regexp::CharClasses::IsLeftParen | ||||||||||||||||||||||||||||||||||||||||||
| 163 | +Regexp::CharClasses::IsRightParen | ||||||||||||||||||||||||||||||||||||||||||
| 164 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 165 | |||||||||||||||||||||||||||||||||||||||||||
| 166 | 2 | ▶ | sub IsLcVowel {state $return = _n <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsLcVowel: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 167 | LATIN SMALL LETTER A | ||||||||||||||||||||||||||||||||||||||||||
| 168 | LATIN SMALL LETTER E | ||||||||||||||||||||||||||||||||||||||||||
| 169 | LATIN SMALL LETTER I | ||||||||||||||||||||||||||||||||||||||||||
| 170 | LATIN SMALL LETTER O | ||||||||||||||||||||||||||||||||||||||||||
| 171 | LATIN SMALL LETTER U | ||||||||||||||||||||||||||||||||||||||||||
| 172 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 173 | |||||||||||||||||||||||||||||||||||||||||||
| 174 | 2 | ▶ | sub IsUcVowel {state $return = _n <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsUcVowel: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 175 | LATIN CAPITAL LETTER A | ||||||||||||||||||||||||||||||||||||||||||
| 176 | LATIN CAPITAL LETTER E | ||||||||||||||||||||||||||||||||||||||||||
| 177 | LATIN CAPITAL LETTER I | ||||||||||||||||||||||||||||||||||||||||||
| 178 | LATIN CAPITAL LETTER O | ||||||||||||||||||||||||||||||||||||||||||
| 179 | LATIN CAPITAL LETTER U | ||||||||||||||||||||||||||||||||||||||||||
| 180 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 181 | |||||||||||||||||||||||||||||||||||||||||||
| 182 | 1 | ▶ | sub IsVowel {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsVowel: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 183 | +Regexp::CharClasses::IsLcVowel | ||||||||||||||||||||||||||||||||||||||||||
| 184 | +Regexp::CharClasses::IsUcVowel | ||||||||||||||||||||||||||||||||||||||||||
| 185 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 186 | |||||||||||||||||||||||||||||||||||||||||||
| 187 | 2 | ▶ | sub IsLcConsonant {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsLcConsonant: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 188 | 0061 007A | ||||||||||||||||||||||||||||||||||||||||||
| 189 | -Regexp::CharClasses::IsLcVowel | ||||||||||||||||||||||||||||||||||||||||||
| 190 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 191 | |||||||||||||||||||||||||||||||||||||||||||
| 192 | 2 | ▶ | sub IsUcConsonant {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsUcConsonant: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 193 | 0041 005A | ||||||||||||||||||||||||||||||||||||||||||
| 194 | -Regexp::CharClasses::IsUcVowel | ||||||||||||||||||||||||||||||||||||||||||
| 195 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 196 | |||||||||||||||||||||||||||||||||||||||||||
| 197 | 1 | ▶ | sub IsConsonant {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsConsonant: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 198 | +Regexp::CharClasses::IsLcConsonant | ||||||||||||||||||||||||||||||||||||||||||
| 199 | +Regexp::CharClasses::IsUcConsonant | ||||||||||||||||||||||||||||||||||||||||||
| 200 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 201 | |||||||||||||||||||||||||||||||||||||||||||
| 202 | # Space to grave accent. | ||||||||||||||||||||||||||||||||||||||||||
| 203 | 1 | ▶ | sub IsUuencode {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsUuencode: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 204 | 0020 0060 | ||||||||||||||||||||||||||||||||||||||||||
| 205 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 206 | |||||||||||||||||||||||||||||||||||||||||||
| 207 | # A-Z, a-z, 0-9, '+' and '/'; '=' is use for padding. (RFC 4648) | ||||||||||||||||||||||||||||||||||||||||||
| 208 | 1 | ▶ | sub IsBase64 {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBase64: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 209 | 0030 0039 | ||||||||||||||||||||||||||||||||||||||||||
| 210 | 0041 005A | ||||||||||||||||||||||||||||||||||||||||||
| 211 | 0061 007A | ||||||||||||||||||||||||||||||||||||||||||
| 212 | 002B | ||||||||||||||||||||||||||||||||||||||||||
| 213 | 002F | ||||||||||||||||||||||||||||||||||||||||||
| 214 | 003D | ||||||||||||||||||||||||||||||||||||||||||
| 215 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 216 | |||||||||||||||||||||||||||||||||||||||||||
| 217 | # A-Z, a-z, 0-9, '-' and '_'; '=' is use for padding. (RFC 4648) | ||||||||||||||||||||||||||||||||||||||||||
| 218 | 1 | ▶ | sub IsBase64url {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBase64url: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 219 | 0030 0039 | ||||||||||||||||||||||||||||||||||||||||||
| 220 | 0041 005A | ||||||||||||||||||||||||||||||||||||||||||
| 221 | 0061 007A | ||||||||||||||||||||||||||||||||||||||||||
| 222 | 002D | ||||||||||||||||||||||||||||||||||||||||||
| 223 | 005F | ||||||||||||||||||||||||||||||||||||||||||
| 224 | 003D | ||||||||||||||||||||||||||||||||||||||||||
| 225 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 226 | |||||||||||||||||||||||||||||||||||||||||||
| 227 | # A-Z, 2-7; '=' is use for padding. (RFC 4648) | ||||||||||||||||||||||||||||||||||||||||||
| 228 | 1 | ▶ | sub IsBase32 {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBase32: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 229 | 0032 0037 | ||||||||||||||||||||||||||||||||||||||||||
| 230 | 0041 005A | ||||||||||||||||||||||||||||||||||||||||||
| 231 | 003D | ||||||||||||||||||||||||||||||||||||||||||
| 232 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 233 | |||||||||||||||||||||||||||||||||||||||||||
| 234 | |||||||||||||||||||||||||||||||||||||||||||
| 235 | # 0-9, A-V; '=' is use for padding. (RFC 4648) | ||||||||||||||||||||||||||||||||||||||||||
| 236 | 1 | ▶ | sub IsBase32hex {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBase32hex: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 237 | 0030 0039 | ||||||||||||||||||||||||||||||||||||||||||
| 238 | 0041 0056 | ||||||||||||||||||||||||||||||||||||||||||
| 239 | 003D | ||||||||||||||||||||||||||||||||||||||||||
| 240 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 241 | |||||||||||||||||||||||||||||||||||||||||||
| 242 | |||||||||||||||||||||||||||||||||||||||||||
| 243 | # 0-9, A-F. (RFC 4648) | ||||||||||||||||||||||||||||||||||||||||||
| 244 | 1 | ▶ | sub IsBase16 {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBase16: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 245 | 0030 0039 | ||||||||||||||||||||||||||||||||||||||||||
| 246 | 0041 0046 | ||||||||||||||||||||||||||||||||||||||||||
| 247 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 248 | |||||||||||||||||||||||||||||||||||||||||||
| 249 | # !"#$%&'()*+,-012345689@ABCDEFGHIJKLMNPQRSTUVXYZ[`abcdefhijklmpqr | ||||||||||||||||||||||||||||||||||||||||||
| 250 | # Note, no 'O', no 'W', no 'g', no 'n', no 'o' | ||||||||||||||||||||||||||||||||||||||||||
| 251 | 1 | ▶ | sub IsBinHex {state $return = __ <<"--"} | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
IsBinHex: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 252 | 0021 002D | ||||||||||||||||||||||||||||||||||||||||||
| 253 | 0030 0039 | ||||||||||||||||||||||||||||||||||||||||||
| 254 | 0040 004E | ||||||||||||||||||||||||||||||||||||||||||
| 255 | 0050 0056 | ||||||||||||||||||||||||||||||||||||||||||
| 256 | 0058 005B | ||||||||||||||||||||||||||||||||||||||||||
| 257 | 0060 0066 | ||||||||||||||||||||||||||||||||||||||||||
| 258 | 0068 006D | ||||||||||||||||||||||||||||||||||||||||||
| 259 | 0070 0072 | ||||||||||||||||||||||||||||||||||||||||||
| 260 | -- | ||||||||||||||||||||||||||||||||||||||||||
| 261 | |||||||||||||||||||||||||||||||||||||||||||
| 262 | |||||||||||||||||||||||||||||||||||||||||||
| 263 | 12 | our @EXPORT = map {@$_} values %EXPORT_TAGS; | |||||||||||||||||||||||||||||||||||||||||
| 264 | |||||||||||||||||||||||||||||||||||||||||||
| 265 | 12 | 1; | |||||||||||||||||||||||||||||||||||||||||
| 266 | |||||||||||||||||||||||||||||||||||||||||||
| 267 | __END__ | ||||||||||||||||||||||||||||||||||||||||||