in reply to Please, help understanding y/// transliteration in this example (DON'T TRY executing oneliner)
Hi
Hmm, I never use transliterate, not exactly surprised , but sadly, PPI::Token::Regexp::Transliterate is not supported by PPIx::Regexp or ppixregexplain
Note to self and maybe rt://PPIx-Regexp, look into this again at a later time
Also curious B::Deparse does a lot of decoding/collapsing of tr, but doesn't offer an expanding :)
" " => "`" # 32 => 96 "!" => "a" # 33 => 97 "\"" => "b" # 34 => 98 "#" => "c" # 35 => 99 "\$" => "d" # 36 => 100 "%" => "e" # 37 => 101 "&" => "f" # 38 => 102 "'" => "g" # 39 => 103 "(" => "h" # 40 => 104 ")" => "i" # 41 => 105 "*" => "j" # 42 => 106 "+" => "k" # 43 => 107 "," => "l" # 44 => 108 "-" => "m" # 45 => 109 "." => "n" # 46 => 110 "/" => "o" # 47 => 111 ":" => "p" # 58 => 112 ";" => "q" # 59 => 113 "<" => "r" # 60 => 114 "=" => "s" # 61 => 115 ">" => "t" # 62 => 116 "?" => "u" # 63 => 117 "\@" => "v" # 64 => 118 "[" => "w" # 91 => 119 "\\" => "x" # 92 => 120 "]" => "y" # 93 => 121 "^" => "z" # 94 => 122 "_" => "{" # 95 => 123 "`" => "/" # 96 => 47 "{" => "\"" # 123 => 34 "|" => " " # 124 => 32 "}" => "\\" # 125 => 92 undef => "-" # => 45
m{[ -/][:-@][[-`][{-}]}; m{[`-{]/" \-};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Please, help understanding y/// transliteration in this example (DON'T TRY executing oneliner)(ppix regexp explainer)
by LanX (Saint) on Feb 05, 2020 at 09:44 UTC | |
by LanX (Saint) on Feb 05, 2020 at 10:10 UTC | |