Bugzilla – Bug 944
Patterns with backreferences cause internal errors
Last modified: 2012-10-01 15:17:47 CEST
<input pattern="\1">
Thanks much for reporting this. I'm troubleshooting it now. Looks like it's causing an NPE in the third-party regexp-pasring code we send the pattern too. Will try to get it unwound and fixed today.
The root cause of this is in the Mozilla Rhino code. For that I filed a Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=795813 I guess I will work around that for now but just having the validator code pass a non-null value to that code (where it's passing a null value now).
https://bitbucket.org/validator/syntax/changeset/753498dd478d1988e257f946abd1f06d07b25a37