Markupless Documentation - v0.4.3
    Preparing search index...

    Function pattern

    • Validates a string against a regular expression.

      Parameters

      • regex: RegExp

        The pattern to match.

      • message: string

        The error message to return if match fails.

      Returns Validator<string>