Skip to content

Files

Latest commit

rootroot
root
and
root
May 24, 2011
0077281 · May 24, 2011

History

History
executable file
·
18 lines (13 loc) · 381 Bytes

Regex.rst

File metadata and controls

executable file
·
18 lines (13 loc) · 381 Bytes

Regex

Validates that a value matches a regular expression.

properties:
    title:
        - Regex: /\w+/

Options

  • pattern (default, required): The regular expression pattern
  • match: Whether the pattern must be matched or must not be matched. Default: true
  • message: The error message if validation fails