support grabbing mulitple prefixes