Refactored XOR.js to call replace once #221

Merged
Rudxain merged 2 commits from patch-1 into master 2022-05-07 21:10:43 -04:00

2 commits

Author SHA1 Message Date
Ricardo Fernández Serrata
a31843e889
Fixed syntax error 2022-05-07 19:23:34 -04:00
Ricardo Fernández Serrata
217faa86d6
Refactored to make 1 call to replace
Now it's optimized and refactored to replace the same chars as before and leave other chars intact. The `s` (dot-all) flag is used to reduce conditional branching
2022-05-07 19:12:19 -04:00