Escape and unescape strings with shell-inspired quoting
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.
Linter | Message | Location |
---|---|---|
description Validate package descriptions | use @code or similar ornament instead of quotes | |
description Validate package descriptions | use @code or similar ornament instead of quotes |