- From: Michael[tm] Smith <mike@w3.org>
- Date: Fri, 9 Mar 2018 20:14:27 +0900
- To: Andrea Nenci <andrea.nenci@uniecampus.it>
- Cc: www-validator@w3.org
Received on Friday, 9 March 2018 11:14:56 UTC
Andrea Nenci <andrea.nenci@uniecampus.it>, 2018-03-01 18:39 +0100:
> Archived-At: <https://www.w3.org/mid/!&!AAAAAAAAAAAYAAAAAAAAAEogD9d5nQBEpqiDjfUFMMvCgAAAEAAAALHGFvyTKexEjWm4Upd27k8BAAAAAA==@uniecampus.it>
> ...
> <form action="/action_page.php">
>
> Country code: <input type="text" name="country_code"
> pattern="[A-Za-z]{3}" title="Three letter country code">
> ...
>
> I’ll receive this error:
>
> Error: Bad value [A-Za-z]{3} for attribute pattern on element
> <http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-input-element>
> input: Unterminated string constant.
>
> ...
> I never see this before. It’s a bug or something change in pattern in html?
That was caused by a bug in the validator code that I’ve since fixed.
Thanks for having take time to report it. If you re-check your document
with the validator, it should no longer report that error
--
Michael[tm] Smith https://people.w3.org/mike
Received on Friday, 9 March 2018 11:14:56 UTC