safety regexp