Make sure regex captures correct args