non regex replace doesnt work
hello
can you tell me please why this doesnt work:
document.selection.Replace("/", "n", eeFindReplaceQuiet | eeReplaceAll);
it is supposed to replace / with n, but it works as if of the / is escape character, thus it replaces / with n
is this a bug or I do something wrong?
thanks
can you tell me please why this doesnt work:
document.selection.Replace("/", "n", eeFindReplaceQuiet | eeReplaceAll);
it is supposed to replace / with n, but it works as if of the / is escape character, thus it replaces / with n
is this a bug or I do something wrong?
thanks
Try
document.selection.Replace("/", "n", eeFindReplaceQuiet | eeReplaceAll);
because "/" is "escape /" = "/"
"/" is "escape /" = "/"
document.selection.Replace("/", "n", eeFindReplaceQuiet | eeReplaceAll);
because "/" is "escape /" = "/"
"/" is "escape /" = "/"
2 posts in this topic