Sha256: 343438281e878799b3dbe6976ff6434a84aa78d99a4e8bc8b3521c27169a6e41

Contents?: true

Size: 121 Bytes

Versions: 2

Compression:

Stored size: 121 Bytes

Contents

# frozen_string_literal: true

class UsernameValidator < BaseValidator

  REGEXP = /^[A-Za-z0-9._-]{1,255}$/.freeze

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lite-validators-1.2.0 lib/lite/validators/username_validator.rb
lite-validators-1.1.2 lib/lite/validators/username_validator.rb