the regexp should have matching group on the right side