Link to types.html for the EBNF grammar syntax.
--- a/master/color.html Tue Aug 21 14:06:38 2012 +1000
+++ b/master/color.html Tue Aug 21 14:11:36 2012 +1000
@@ -784,19 +784,7 @@
<div class="ready-for-wider-review">
<h2 id="syntax">Color syntax</h2>
- <p>The EBNF grammar is as used in the <a href="http://www.w3.org/TR/REC-xml/#sec-notation">XML specification</a>,
- with the addition of a <em>case-insensitive literal</em>: characters in the ASCII range (only) are case-insensitive. ~"Hello" will match (H|h)(e|e)(l|L)(l|L)(o|O). This makes the productions much easier to read.</p>
- <table>
- <tr><td>?</td><td>optional, zero or one</td></tr>
- <tr><td>+</td><td>one or more</td></tr>
- <tr><td>*</td><td>zero or more</td></tr>
- <tr><td>|</td><td>alternation</td></tr>
- <tr><td>"string"</td><td>literal</td></tr>
- <tr><td>~"string"</td><td>case-insensitive literal</td></tr>
- <tr><td>[]</td><td>a character range</td></tr>
- <tr><td>[^]</td><td>excluded character range</td></tr>
- <tr><td>()</td><td>grouping</td></tr>
- </table>
+ <p>The EBNF grammar syntax is as described in <a href="types.html#syntax">Syntax</a>.</p>
<pre>