html5/markup/src datatypes.html,1.59,1.60

Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv15526/src

Modified Files:
	datatypes.html 
Log Message:
Fix bug 15761. Thanks Filipus Klutiero.
Also define "non-empty string" and "string without breaks".


Index: datatypes.html
===================================================================
RCS file: /sources/public/html5/markup/src/datatypes.html,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- datatypes.html	12 May 2011 07:23:50 -0000	1.59
+++ datatypes.html	13 Feb 2012 07:21:53 -0000	1.60
@@ -774,6 +774,8 @@
         <var class="defined-elsewhere">ldh-str</var>
         is as defined in
         <a href="#refsRFC1034">[RFC 1034]</a>.</p>
+      <p>That is, any string which matches the following regular expression:</p>
+      <pre><code>/^[a-zA-Z0-9.!#$%&amp;’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</code></pre>
       </div>
       <div class="example">
         <p>Examples:</p>
@@ -947,4 +949,21 @@
       points of the polygon, in order.</div>
     </dd>
   </dl>
+  <dl><dt>nonemptystring</dt>
+    <dd></dd>
+    <dd>
+      <div class="datatype-desc">
+      Any string that is not empty.
+      </div>
+    </dd>
+  </dl>
+  <dl><dt>stringwithoutlinebreaks</dt>
+    <dd></dd>
+    <dd>
+      <div class="datatype-desc">
+      Any string that contains no line feed (U+000A, “LF”) or carriage
+      return (U+000D, “CR”) characters.
+      </div>
+    </dd>
+  </dl>
 </section>

Received on Monday, 13 February 2012 07:21:56 UTC