RegEx, error?
-
Why „\A” doesn’t work?
-
because Npp treats the end of the match + 1 as a next start position.
-
There are some workarounds that can make
\A
logic work more like one would expect.See this thread for one:
https://community.notepad-plus-plus.org/topic/16104/how-to-find-and-highlight-a-specific-occurance-of-a-symbol/ -
@Alan-Kilborn said in RegEx, error?:
There are some workarounds that can make \A logic work more like one would expect.
it is proposed to replace “\A”:
(?<!\n|\r|\f)
but it doesn’t work -
but it works
\`
instead
\A
-
-
-
Hmmmmm.
What I meant was: If you contend that \` is equivalent to \A, why don’t you show screenshots of the Find dialog and some results showing it working, much like your earlier screenshots in this thread.
-
-
Yes, but that’s not what you said before.
But, you have demonstrated in the past an unclearness about “straight” double quotes and “curled” double quotes, so I suppose you consider \` and \’ to be the same thing.Aside from your inaccuracy about the equivalency for
\A
(let’s put that behind us), you also said “but it works”, so can you demonstrate to us how you think it works?I don’t think you can, because your posts don’t make a lot of sense.
I’m sure you will hide behind not being a native English speaker, but others have tried to point out to you that language-translators can make non-English speakers sound truly like English speakers – if one is willing to use them, correctly. -
This post is deleted! -
This post is deleted!