- Go to https://de.wikipedia.org/wiki/Internationale_Mathematik-Olympiade?veaction=edit
- Search for $ (space + dollar) as regular expression.
Expected: This should find (superfluous) spaces at the end of a paragraph, in this case none.
Actual: This finds the spaces in front of ISBNs (but not spaces in front of normal links).
I know VE well enough to understand what's happening: Normal links are annotations, but magic links are nodes. Still, this behavior is unexpected and usually unwanted.
Perhaps it is possible to use U+FFFC (object replacement character) instead of \n for maintaining the indices for inline nodes, though this will require a careful handling when replacing contents.