sS tok_unquote(S s) { LS tok = javaTok(s); ret l(tok) == 3 && empty(first(tok)) && empty(last(tok)) && isQuoted(second(tok)) ? unquote(second(tok)) : s; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027976 |
Snippet name: | tok_unquote - really proper unquote |
Eternal ID of this version: | #1027976/1 |
Text MD5: | d611982289eacf4e0d961bd7a7d6a3d9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-22 13:11:49 |
Source code size: | 166 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 235 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027977 - test_tok_unquote (OK) |