HTML input pattern fails

Fixed Issue #7918753


Martino M.
Jun 17, 2016
This issue is public.
Found in
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Create an <input type="text" pattern="([0-9]|[0-1][0-9]|2[0-3]):([0-9]|[0-5][0-9])">

try to type in something like “12:12”

Internet Explorer 10 does not match the text with the regular expression, while other browser (firefox) do.
The regular expression should be correct


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Status to “Fixed”

    • Thank you for the feedback. This issue appears to have been fixed in Microsoft Edge. We’re not presently working on feature bugs in Internet Explorer outside of security-related issues. 

      Best Regards,
      The Microsoft Edge Team

    • No it has not. The following regex does not match 23 on Edge : "([1-9]|[1-9][0-9])"

    You need to sign in to your Microsoft account to add a comment.

    Sign in