Bug: Toggle Marking does not work for logger with ' in their names

If a logger name contain the single quote character it can not be highligted with Togle Marking
(I did not check other special characters)