Support multiple accounts, which are selected by using subpatterns in the regular expression