mirror of
https://github.com/gchq/CyberChef.git
synced 2026-03-09 08:21:07 -07:00
Exclude Delete character from printable
This commit is contained in:
parent
2a1294f1c0
commit
bd10c0ed6b
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ class Utils {
|
|||
*/
|
||||
static printable(str, preserveWs=false, onlyAscii=false) {
|
||||
if (onlyAscii) {
|
||||
return str.replace(/[^\x20-\x7f]/g, ".");
|
||||
return str.replace(/[^\x20-\x7e]/g, ".");
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-misleading-character-class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue