mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-30 07:21:29 +02:00
Added ignoreCase feature in Substitute operation.
This commit is contained in:
parent
9c3ddca269
commit
1a9833132d
@ -69,7 +69,7 @@ class Substitute extends Operation {
|
|||||||
if (dict[char.toLowerCase()] !== undefined)
|
if (dict[char.toLowerCase()] !== undefined)
|
||||||
return dict[char.toLowerCase()].toUpperCase();
|
return dict[char.toLowerCase()].toUpperCase();
|
||||||
} else {
|
} else {
|
||||||
if(dict[char.toUpperCase()] !== undefined)
|
if (dict[char.toUpperCase()] !== undefined)
|
||||||
return dict[char.toUpperCase()].toLowerCase();
|
return dict[char.toUpperCase()].toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user