FLUTTER ECOSYSTEM

cgrep-tool/string_unescape

方便的實用工具,用於還原字串表示形式(Unicode、換行、標籤等)。

string_unescape 專案封面
Stars
3
Forks
5
最近推送(UTC)
2021年10月25日
專案狀態
未封存
cgrep-tool GitHub avatar
GITHUB Organization

cgrep-tool ↗

語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • lint開發依賴^1.0.1
  • test開發依賴^1.17.2

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

String unescape

Handy utility to unescape string representation (unicode, newline, tab, etc).

Example

Unescape string

expect(unescape(r"a\nb"), "a\nb");
expect(unescape(r"a\x0ab"), "a\nb");

Unescape character

expect(unescapeChar(r"a"), 97);
expect(unescapeChar(r"🀀"), 0x1F000);