LPS-39451 - Makes single-quotes token exception generic