2015-04-07 21 views

risposta

8

Non tutti sono d'accordo su cosa sia, ma ecco una di queste possibili emittioni ASCII-art di input di mappatura delle tabelle alle emoji Unicode. Entrambi gli elementi di dati sono quotati singolarmente, quindi i backslash e le virgolette singole vengono sfuggiti.

'o/'   => '', 
'</3'  => '', 
'<3'   => '', 
'8-D'  => '', 
'8D'   => '', 
':-D'  => '', 
'=-3'  => '', 
'=-D'  => '', 
'=3'   => '', 
'=D'   => '', 
'B^D'  => '', 
'X-D'  => '', 
'XD'   => '', 
'x-D'  => '', 
'xD'   => '', 
':\')'  => '', 
':\'-)'  => '', 
':-))'  => '', 
'8)'   => '', 
':)'   => '', 
':-)'  => '', 
':3'   => '', 
':D'   => '', 
':]'   => '', 
':^)'  => '', 
':c)'  => '', 
':o)'  => '', 
':}'   => '', 
':っ)'  => '', 
'=)'   => '', 
'=]'   => '', 
'0:)'  => '', 
'0:-)'  => '', 
'0:-3'  => '', 
'0:3'  => '', 
'0;^)'  => '', 
'O:-)'  => '', 
'3:)'  => '', 
'3:-)'  => '', 
'}:)'  => '', 
'}:-)'  => '', 
'*)'   => '', 
'*-)'  => '', 
':-,'  => '', 
';)'   => '', 
';-)'  => '', 
';-]'  => '', 
';D'   => '', 
';]'   => '', 
';^)'  => '', 
':-|'  => '', 
':|'   => '', 
':('   => '', 
':-('  => '', 
':-<'  => '', 
':-['  => '', 
':-c'  => '', 
':<'   => '', 
':['   => '', 
':c'   => '', 
':{'   => '', 
':っC'  => '', 
'%)'   => '', 
'%-)'  => '', 
':-P'  => '', 
':-b'  => '', 
':-p'  => '', 
':-Þ'  => '', 
':-þ'  => '', 
':P'   => '', 
':b'   => '', 
':p'   => '', 
':Þ'   => '', 
':þ'   => '', 
';('   => '', 
'=p'   => '', 
'X-P'  => '', 
'XP'   => '', 
'd:'   => '', 
'x-p'  => '', 
'xp'   => '', 
':-||'  => '', 
':@'   => '', 
':-.'  => '', 
':-/'  => '', 
':/'   => '', 
':L'   => '', 
':S'   => '', 
':\\'  => '', 
'=/'   => '', 
'=L'   => '', 
'=\\'  => '', 
':\'('  => '', 
':\'-('  => '', 
'^5'   => '', 
'^<_<'  => '', 
'o/\\o'  => '', 
'|-O'  => '', 
'|;-)'  => '', 
':###..'  => '', 
':-###..' => '', 
'D-\':'  => '', 
'D8'   => '', 
'D:'   => '', 
'D:<'  => '', 
'D;'   => '', 
'D='   => '', 
'DX'   => '', 
'v.v'  => '', 
'8-0'  => '', 
':-O'  => '', 
':-o'  => '', 
':O'   => '', 
':o'   => '', 
'O-O'  => '', 
'O_O'  => '', 
'O_o'  => '', 
'o-o'  => '', 
'o_O'  => '', 
'o_o'  => '', 
':$'   => '', 
'#-)'  => '', 
':#'   => '', 
':&'   => '', 
':-#'  => '', 
':-&'  => '', 
':-X'  => '', 
':X'   => '', 
':-J'  => '', 
':*'   => '', 
':^*'  => '', 
'ಠ_ಠ'  => '', 
'*\\0/*'  => '', 
'\\o/'  => '', 
':>'   => '', 
'>.<'  => '', 
'>:('  => '', 
'>:)'  => '', 
'>:-)'  => '', 
'>:/'  => '', 
'>:O'  => '', 
'>:P'  => '', 
'>:['  => '', 
'>:\\'  => '', 
'>;)'  => '', 
'>_>^'  => '', 
+0

D: – bjb568

+0

@ bjb568 – tchrist

0

Trovato nel codice di markdown-it (licenza MIT)

module.exports = { 
    mad:    [ '>:(', '>:-(' ], // angry 
    blush:   [ ':")', ':-")' ], 
    broken_heart:  [ '</3', '<\\3' ], 
    // :/ & :\ disabled due conflicts, untill logic improved 
    confused:   [ /*':\\',*/ ':-\\', /*':/',*/ ':-/' ], // twemoji shows question 
    cry:    [ ":'(", ":'-(", ':,(', ':,-(' ], 
    frowning:   [ ':(', ':-(' ], 
    heart:   [ '<3' ], 
    imp:    [ ']:(', ']:-(' ], 
    innocent:   [ 'o:)', 'O:)', 'o:-)', 'O:-)', '0:)', '0:-)' ], 
    joy:    [ ":')", ":'-)", ':,)', ':,-)', ":'D", ":'-D", ':,D', ':,-D' ], 
    kissing:   [ ':*', ':-*' ], 
    laughing:   [ 'x-)', 'X-)' ], 
    neutral_face:  [ ':|', ':-|' ], 
    open_mouth:  [ ':o', ':-o', ':O', ':-O' ], 
    rage:    [ ':@', ':[email protected]' ], 
    smile:   [ ':D', ':-D' ], 
    smiley:   [ ':)', ':-)' ], 
    smiling_imp:  [ ']:)', ']:-)' ], 
    sob:    [ ":,'(", ":,'-(", ';(', ';-(' ], 
    stuck_out_tongue: [ ':P', ':-P' ], 
    sunglasses:  [ '8-)', 'B-)' ], 
    sweat:   [ ',:(', ',:-(' ], 
    sweat_smile:  [ ',:)', ',:-)' ], 
    unamused:   [ ':s', ':-S', ':z', ':-Z', ':$', ':-$' ], 
    wink:    [ ';)', ';-)' ] 
}; 
2

ho usato Name is link carl per generare questa lista:

{ ,:(: "", ,:): "", ,:-(: "", ,:-): "", 0:): "", 0:-): "", 8-): "", :"): "", :$: "", :'(: "", :'): "", :'-(: "", :'-): "", :'-D: "", :'D: "", :(: "", :): "", :*: "", :,'(: "", :,'-(: "", :,(: "", :,): "", :,-(: "", :,-): "", :,-D: "", :,D: "", :-"): "", :-$: "", :-(: "", :-): "", :-*: "", :-/: "", :[email protected]: "", :-D: "", :-o: "", :-O: "", :-P: "", :-S: "", :-Z: "", :-|: "", :/: "", :@: "", :D: "", :o: "", :O: "", :P: "", :s: "", :z: "", :|: "", ;(: "", ;): "", ;-(: "", ;-): "", ]:): "", ]:-): "", B-): "", o:): "", O:): "", O:-): "", o:-): "", X-): "", x-): "" }