As you can see in the screenshot below, which shows an excerpt of a Ruby program, a sequence of 2 exclamation marks is highlighted incorrectly (the two adjacent exclamation marks are coloured differently).
If I insert a space between them, the colouring is correct. My guess is that the parser for syntax highlighting does not recognize two adjacent exclamation marks as two applications of the same unary operator.
As you can see in the screenshot below, which shows an excerpt of a Ruby program, a sequence of 2 exclamation marks is highlighted incorrectly (the two adjacent exclamation marks are coloured differently).
If I insert a space between them, the colouring is correct. My guess is that the parser for syntax highlighting does not recognize two adjacent exclamation marks as two applications of the same unary operator.