I have an anchoring problem on using regex in the calibre editor.
Say, I want to place an anchor between two succeeding M's, in which between those M's:
- there is no space
- there are 1 or more spaces
For that I'm using the regex given in attachment 1 (and its explanation is given in attachment 2).
As can be seen in the test string, 3 anchor locations should (and are) found in a simulator as I expected them to be.
However, when using the regex in the calibre editor, the very first one is never found (=when no separating spaces are present). Apparently, the calibre regex engine works different. So, how to make it work for the calibre regex engine? Any ideas?