Sha256: 5a4ae286e4a88c350012cdbdad82fa6f5bc5a57018a715fef7bd2ae9bc53aad3

Contents?: true

Size: 123 Bytes

Versions: 2

Compression:

Stored size: 123 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.1.1 lib/lite/validators/username_validator.rb
lite-validators-1.1.0 lib/lite/validators/username_validator.rb