Skip to content

Docs: addKeyword argument #2217

Closed
@SquareByte

Description

@SquareByte

What version of Ajv you are you using?
8.11.2

What is the problem

The docs are missing, that ":" also is an allowed non-leading character in custom keywords added via addKeyword(). It probably also is worth mentioning, that letter means an ASCII letter.

RegEx for ref: /^[a-z_$][a-z0-9_$:-]*$/i at Line

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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