proton.pattern

Commonly used regular expressions and those utilities

email-pattern

Regexp object of email address.

email-regex

Regexp string of email address 

password-pattern

Regexp object of valid password.

password-regex

Regexp string of valid password.

uuid-pattern

Regexp object of UUID.

uuid-regex

Regexp string of UUID.

valid-email?

(valid-email? mail)
Check if email address is valid format.

valid-password?

(valid-password? password)
Check if password is valid format where password contains lower case letters, upper case letters,
numeric characters, and special characters.
(i.e. from 0x21 to 0x7e in ascii code table)

valid-uuid?

(valid-uuid? uuid-string)
Check if UUID string is valid format.