Multiple group mentions based on overlapping membership

I’m not suggesting to change any existing behaviour but to add a new one. Not sure how the AND mention should be written, but one way could be @(groupa,groupb).