First occurrence is preceded by whitespaceor start of the string.
But the problem is when there is combination of all these.
There is a good userscript for that.
It would be enough if Guess Case would replace agrave and acute with ASCII typewriter straight apostrophe.
Then the userscript can be used behind, like I often do: