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 15568 - Grammar - escaping of single quote (') is unnecessary
Summary: Grammar - escaping of single quote (') is unnecessary
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSS Level 2 (show other bugs)
Version: unspecified
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Bert Bos
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-15 10:58 UTC by Anton P
Modified: 2012-12-04 00:50 UTC (History)
0 users

See Also:


Attachments

Description Anton P 2012-01-15 10:58:10 UTC
Reported by Jack Smiley

G.2 says:
  # string2     \'([^\n\r\f\\']|\\{nl}|{escape})*\'
  # [...]
  # badstring2  \'([^\n\r\f\\']|\\{nl}|{escape})*\\?

The reporter questions why the single quotes escaped, since according to the Lex website (http://dinosaur.compilertools.net/lex/index.html), single quotes are not metacharacters.

Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2011Jun/0328.html