code: function getSplitModule(content, constraints) {
      var src = '', lastIdx = 0, currentNamespace;
      content.replace(/\/\*\*\* @namespace (\w+) \*\*\*\/\n|$/g, function(match, nextNamespace, idx) {
        if (!currentNamespace || constraints[currentNamespace]) {
          src += content.slice(lastIdx, idx);
        }
        currentNamespace = (nextNamespace || '').toLowerCase();
        lastIdx = idx;
      });
      return src;
    }
docs: Split the module into namespaces here and match on the allowed one.