allow '.' in regex