Updated regexp for language tags.
authorDavid Wood <dwood@zepheira.com>
Fri, 10 May 2013 10:50:29 -0400
changeset 816 eb5d44bc9ca0
parent 815 db0e0b77f3a7
child 817 2dc003aeb5d1
Updated regexp for language tags.
rdf-concepts/index.html
--- a/rdf-concepts/index.html	Fri May 10 00:11:56 2013 -0500
+++ b/rdf-concepts/index.html	Fri May 10 10:50:29 2013 -0400
@@ -636,7 +636,8 @@
 
 		<p class="note" id="note-language-tag-regex">
 		Implementors might wish to note that language tags conform to the
-		regular expression <code>'@' [a-zA-Z]+ ('-' [a-zA-Z0-9]+)*</code>
+		regular expression <code>&#8217;@&#8217; [a-zA-Z]{1,8} (&#8217;-&#8217;
+		[a-zA-Z0-9]{1,8})*</code>
 		before normalizing to lowercase.</p>
 
     <p>Concrete syntaxes MAY support <dfn title="simple literal">simple