There is problem with scope group selector. It will be easier to show it on pictures.
Group selector is before others:
“ContainerAware” is not highlighted properly.
Group selector is at the end of tag:
Everything is OK:
The problem applies as well to any.scope.blah.(first|second).bar and scope.foo.(*).bar
Have I forgot something? Maybe it should be escaped some way?
Problem exists in Sublime Text 2 and 3.