Skip to content

[2.0]: dont use character classes in patterns #988

Description

@jkowalleck

per https://json-schema.org/understanding-json-schema/reference/regular_expressions

Use only standard escapes like \n, \r, \t and keep in mind that you also need to do JSON escaping.

we already do this here


so character classes are not universal - some regex engines just dont support them.
we should take care of this , and use the custom character classes in these cases.
like [0-9] for \d

things to fix:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions