Skip to content

String validation #7

@streamich

Description

@streamich

Add ability to specify a string format. Introduce utf8 and ascii formats, add validation routines for those formats. ASCII should only allow valid ASCII characters in the string, UTF-8 should only allow valid UTF-8 strings (you are coding in JavaScript, which uses UTF-16 strings). Make sure implementation is very very performant.

  • Introduce string sub-formats as part of the format property in string nodes.
    • utf8
    • ascii

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions