Language

Package: rust-snailquote @ 0.3.0

Synopsis

Escape and unescape strings with shell-inspired quoting

Description

This library provides functions to escape and unescape strings.

It escapes them in a roughly ``sh'' compatible way (e.g. double quotes supporting backslash escapes, single quotes supporting no escapes).

In addition, it provides support for common C-like ASCII escapes (like \n for newline, \v for vertical tab, etc.) and Rust string-like Unicode (via \u{12ff} style escapes).

More importantly, this library also provides the ability to un-escape a given escaped text to recover the original string.

Home page
https://github.com/euank/snailquote
Location
gnu/packages/crates-io.scm (line: 38300, column: 2)
License

Lint warnings

LinterMessageLocation
description

Validate package descriptions

use @code or similar ornament instead of quotes