[issue - 39] fixed regex for place address.
@@ -8,7 +8,6 @@ import greencity.dto.openhours.OpeningHoursDto;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
-import javax.validation.constraints.Pattern;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -22,7 +21,6 @@ import org.hibernate.validator.constraints.Length;
public class PlaceAddDto {
@NotBlank(message = ValidationConstants.EMPTY_PLACE_NAME)
@Length(max = ValidationConstants.PLACE_NAME_MAX_LENGTH)
- @Pattern(regexp = "^[a-zA-Z0-9_.-]*$")
private String name;
@Valid
