W3C home > Mailing lists > Public > public-dap-commits@w3.org > December 2009

2009/dap/ReSpec.js/js respec.js,1.68,1.69

From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 16 Dec 2009 17:14:13 +0000
To: public-dap-commits@w3.org
Message-Id: <E1NKxS1-0000ei-H9@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv2479/js

Modified Files:
	respec.js 
Log Message:
added NOT RECOMMENDED

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- respec.js	9 Dec 2009 12:49:14 -0000	1.68
+++ respec.js	16 Dec 2009 17:14:11 -0000	1.69
@@ -624,7 +624,7 @@
         for (var i = 0; i < txts.length; i++) {
             var txt = txts[i];
             var rx = new RegExp("(\\bMUST(?:\\s+NOT)?\\b|\\bSHOULD(?:\\s+NOT)?\\b|\\bSHALL(?:\\s+NOT)?\\b|" + 
-                                "\\bMAY\\b|\\bREQUIRED\\b|\\bRECOMMENDED\\b|\\bOPTIONAL\\b|" +
+                                "\\bMAY\\b|\\bREQUIRED\\b|\\b(?:NOT\\s+)?RECOMMENDED\\b|\\bOPTIONAL\\b|" +
                                 "(?:\\[\\[(?:!)?[A-Za-z0-9-]+\\]\\])|" +
                                 abbrRx + ")");
             var subtxt = txt.data.split(rx);
Received on Wednesday, 16 December 2009 17:14:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 December 2009 17:14:19 GMT