- From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Dec 2009 13:52:05 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js In directory hutz:/tmp/cvs-serv8548 Modified Files: respec.js Log Message: additional fix for "not recommended" Index: respec.js =================================================================== RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- respec.js 16 Dec 2009 17:14:11 -0000 1.69 +++ respec.js 17 Dec 2009 13:52:02 -0000 1.70 @@ -636,7 +636,7 @@ sn.text(t, df); if (matched) { // RFC 2129 - if (/MUST(?:\s+NOT)?|SHOULD(?:\s+NOT)?|SHALL(?:\s+NOT)?|MAY|REQUIRED|RECOMMENDED|OPTIONAL/.test(matched)) { + if (/MUST(?:\s+NOT)?|SHOULD(?:\s+NOT)?|SHALL(?:\s+NOT)?|MAY|REQUIRED|(?:NOT\s+)?RECOMMENDED|OPTIONAL/.test(matched)) { matched = matched.toLowerCase(); sn.element("em", { "class": "rfc2119", title: matched }, df, matched); }
Received on Thursday, 17 December 2009 13:52:06 UTC