pattern
attribute testThe u
flag must be enabled for regular expressions compiled through the HTML pattern
attribute.
If your browser implements this correctly, you’ll see a green input field below followed by “PASS”. If not, the input field is red, followed by “FAIL”.