String not found ?
-
I was looking for the string
S*w^{=JXa84riP0riS
and it was not found ! Even if I take it from where it is !
Strange isn’t it ? -
Well, I just tested in a new N++ file. I added some junk before and after it. Then using Search mode “normal” and “extended” I found the entries I was looking for.
If however I use “regular expression” then yes you won’t find it. That’s because some of your string includes “meta-characters”. These are characters that have special meaning. To use them literally you’d need to have the following to search for them as characters.
Find what:S\*w\^{=JXa84riP0riS
Note that I have used the “” character before some, this is called the “escape” character and allows the meta character to retain it’s literal purpose, not the special meaning. That red text sequence that will find the same string as it dd in it’s original form with “normal” or “extended” mode.
Hope that helps you?
Terry
-
@Terry-R said:
Note that I have used the “” character before some,
I think this is supposed to read:
Note that I have used the “
\
” character before some,