mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
\s to \s+
This commit is contained in:
parent
0e44e9c5ce
commit
d5d2660655
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ export function fromHex(data, delim="Auto", byteLen=2) {
|
|||
throw new OperationError("Byte length must be a positive integer");
|
||||
|
||||
if (delim !== "None") {
|
||||
const delimRegex = delim === "Auto" ? /\s|0x/gi : Utils.regexRep(delim);
|
||||
const delimRegex = delim === "Auto" ? /\s+|0x/gi : Utils.regexRep(delim);
|
||||
data = data.split(delimRegex);
|
||||
} else {
|
||||
data = [data];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue