regex is done in test