string_unescape
Convert escaped text back to its original form with support for JSON, JS, Python, HTML, XML, and other escape styles. Raises error on malformed sequences.
Instructions
Reverse a source-code or markup escaping back to the original text.
Style-for-style inverse of string_escape (json|js|python|c|backslash escape sequences, html|xml entities, unicode_escape, quoted_printable, mime_word, and shell). Malformed escape sequences raise ValueError.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | Yes |