Skip to content

Incorrect documentation for additional context properties for string.pattern.* errors #2667

Open
@davidjamesstone

Description

@davidjamesstone

Context

  • node version: 12
  • module version: 17.4.2

The docs for

string.pattern.base
string.pattern.name
string.pattern.invert.base
string.pattern.invert.name

states the additional context properties contain a pattern key. The key that is passed is actually regex

I can do a PR for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions