Adding new lines to class regex.