parse disposition with regexp