This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 30227 - Unterminated string constant
Summary: Unterminated string constant
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 22:21 UTC by robertsonb
Modified: 2018-03-02 22:21 UTC (History)
0 users

See Also:


Attachments

Description robertsonb 2018-03-02 22:21:32 UTC
Validator reports an error:
Bad value (?=^.{8,}$)(?=.*\d)(?=.*\W+)(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$ for attribute pattern on element input: Unterminated string constant.
Entire markup is:  <input type="password" name="clientPassword" id="clientPassword"  pattern='(?=^.{8,}$)(?=.*\d)(?=.*\W+)(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$' required>
The same markup validated last week, now reports an error with no change to the markup. The pattern contains no spaces, is not multi-line and is fully enclosed in quotes.