Skip to content

Regular expression patterns

Pre-release
Pre-release

Choose a tag to compare

@g105b g105b released this 30 Dec 12:20
· 67 commits to master since this release

The pattern attribute specifies a regular expression against which the control’s value.

Constraint validation: If the element’s value is not the empty string, and the element has a compiled pattern regular expression but that regular expression does not match the entirety of the element’s value, then the element is suffering from a pattern mismatch.