lib/lite/validators/name_validator.rb in lite-validators-1.2.0 vs lib/lite/validators/name_validator.rb in lite-validators-1.3.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
class NameValidator < BaseValidator
- REGEXP = /^([A-Za-z0-9'-]+\s+){1,4}[A-Za-z0-9'-]*\z/.freeze
+ REGEXP = /^([A-Za-z0-9'-]+\s+){1,4}[A-Za-z0-9'-]*\z/
end