Sha256: a686b6a8e18865e61185ce09c67c85ffd284a1ec8e1c349142c91c3834ffa8a6

Contents?: true

Size: 116 Bytes

Versions: 10

Compression:

Stored size: 116 Bytes

Contents

# frozen_string_literal: true

class PhoneNumberValidator < BaseValidator

  REGEXP = %r{^[0-9+()#.\s/ext-]+$}

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lite-validators-1.8.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.7.2 lib/lite/validators/phone_number_validator.rb
lite-validators-1.7.1 lib/lite/validators/phone_number_validator.rb
lite-validators-1.7.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.6.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.5.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.4.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.3.2 lib/lite/validators/phone_number_validator.rb
lite-validators-1.3.1 lib/lite/validators/phone_number_validator.rb
lite-validators-1.3.0 lib/lite/validators/phone_number_validator.rb