Sha256: 01d8a693ca398fe4f7703680d217ef69d6eb3d5ac93bc550c91740198a128cb3
Contents?: true
Size: 623 Bytes
Versions: 14
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true def uuid_regex /[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/ end def guid_regex /[a-f0-9]{32}/ end def sha_regex /[a-f0-9]{64}/ end def test_email_regex /user\d+@example.com/ end def test_username_regex /username\d+/ end def json_web_token_base64_regex %r{[A-Za-z0-9_/\+\=\-]} end def json_web_token_regex / \A (#{json_web_token_base64_regex}+?\.){2} #{json_web_token_base64_regex}+? \z /x end def encrypted_json_web_token_regex / \A (#{json_web_token_base64_regex}+?\.){4} #{json_web_token_base64_regex}+? \z /x end
Version data entries
14 entries across 14 versions & 1 rubygems