correct regex and check for none