Remove underscore in decodable modes
This commit is contained in:
Родитель
cfbbf08b9d
Коммит
b9d74ba41f
|
@ -152,7 +152,7 @@ namespace Confuser.Renamer {
|
|||
if (nameMap1.ContainsKey(name))
|
||||
return nameMap1[name];
|
||||
IncrementNameId();
|
||||
var newName = "_" + Utils.EncodeString(hash, alphaNumCharset) + "_";
|
||||
var newName = Utils.EncodeString(hash, alphaNumCharset);
|
||||
nameMap2[newName] = name;
|
||||
nameMap1[name] = newName;
|
||||
return newName;
|
||||
|
@ -161,7 +161,7 @@ namespace Confuser.Renamer {
|
|||
if (nameMap1.ContainsKey(name))
|
||||
return nameMap1[name];
|
||||
IncrementNameId();
|
||||
var newName = "_" + Utils.EncodeString(nameId, alphaNumCharset) + "_";
|
||||
var newName = Utils.EncodeString(nameId, alphaNumCharset);
|
||||
nameMap2[newName] = name;
|
||||
nameMap1[name] = newName;
|
||||
return newName;
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace ConfuserEx {
|
|||
}
|
||||
}
|
||||
|
||||
readonly Regex mapSymbolMatcher = new Regex("_[a-zA-Z0-9]+_");
|
||||
readonly Regex mapSymbolMatcher = new Regex("[a-zA-Z0-9]+");
|
||||
readonly Regex passSymbolMatcher = new Regex("[a-zA-Z0-9_$]{23,}");
|
||||
ReversibleRenamer renamer;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче