v2.0.0
string_unescape
文字列表現(Unicode、改行、タブなど)をアンエスケープするための便利なユーティリティ。
6いいね 2.7万30日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
文字列表現(Unicode、改行、タブなど)をアンエスケープするための便利なユーティリティ。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Handy utility to unescape string representation (unicode, newline, tab, etc).
expect(unescape(r"a\nb"), "a\nb");
expect(unescape(r"a\x0ab"), "a\nb");
expect(unescapeChar(r"a"), 97);
expect(unescapeChar(r"🀀"), 0x1F000);