Consider the following test String:
If use the following regex to search:
I get the expected result of having the word Died in the test String be matched.
If I use the following regex instead to search:
I also get a match. This is confusing to me, as the String Event is not immediately following the String matched by the zero width pattern:
If I then use the following:
The first one does not match and the second one does match, both as I would expect. If somebody here could explain this inconsistency in behavior, I would greatly appreciate it.
I ran these tests on gvim 8.2 on Linux.