| 1 | package Text::ANSI::Fold::Japanese::Wikipedia; | ||
| 2 | |||
| 3 | use v5.14; | ||
| 4 | use warnings; | ||
| 5 | use utf8; | ||
| 6 | |||
| 7 | our %prohibition = do { | ||
| 8 | no warnings 'qw'; | ||
| 9 | (head => join('', # from wikipedia | ||
| 10 | qw@ | ||
| 11 | ,)]}、〕〉》」』】〙〗〟\’\”⦆»' | ||
| 12 | ゝゞー | ||
| 13 | ァィゥェォッャュョヮヵヶ | ||
| 14 | ぁぃぅぇぉっゃゅょゎゕゖ | ||
| 15 | ㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇷ゚ㇺㇻㇼㇽㇾㇿ | ||
| 16 | 々〻 | ||
| 17 | ‐゠–〜~ | ||
| 18 | ?!‼⁇⁈⁉ | ||
| 19 | ・:;/ | ||
| 20 | 。. | ||
| 21 | @, # not in wikipedia | ||
| 22 | qw@ | ||
| 23 | ,)] | ||
| 24 | -~== | ||
| 25 | ?! | ||
| 26 | @), | ||
| 27 | end => join('', # from wikipedia | ||
| 28 | qw@ | ||
| 29 | ([{〔〈《「『【〘〖〝‘“⦅« | ||
| 30 | @, # not in wikipedia | ||
| 31 | qw@ | ||
| 32 | ([ | ||
| 33 | @), | ||
| 34 | ); | ||
| 35 | }; | ||
| 36 | |||
| 37 | 1; |