mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 08:46:19 -04:00
Tidied up string escape operations
This commit is contained in:
parent
55806db00f
commit
4b22a409e7
3 changed files with 16 additions and 10 deletions
|
@ -187,8 +187,8 @@ const Categories = [
|
|||
"Parse UNIX file permissions",
|
||||
"Swap endianness",
|
||||
"Parse colour code",
|
||||
"Escape String",
|
||||
"Unescape String",
|
||||
"Escape string",
|
||||
"Unescape string",
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -3263,15 +3263,15 @@ const OperationConfig = {
|
|||
}
|
||||
]
|
||||
},
|
||||
"Escape String": {
|
||||
description: "Escapes a string so that it can be embedded in another. For example, <code>Don't stop me now</code> becomes <code>Don\\'t stop me now</code>.",
|
||||
"Escape string": {
|
||||
description: "Escapes special characters in a string so that they do not cause conflicts. For example, <code>Don't stop me now</code> becomes <code>Don\\'t stop me now</code>.",
|
||||
run: StrUtils.runEscape,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
args: []
|
||||
},
|
||||
"Unescape String": {
|
||||
description: "Unescapes a string that was embedded inside another so that it can be used in it's own right. For example, <code>Don\\'t stop me now</code> becomes <code>Don't stop me now</code>.",
|
||||
"Unescape string": {
|
||||
description: "Unescapes characters in a string that have been escaped. For example, <code>Don\\'t stop me now</code> becomes <code>Don't stop me now</code>.",
|
||||
run: StrUtils.runUnescape,
|
||||
inputType: "string",
|
||||
outputType: "string",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue