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);