pattern

external var pattern: String(source)

The pattern property of the HTMLInputElement interface represents a regular expression a non-null value should match. It reflects the element's pattern attribute.

MDN Reference