context: function PR_extractTags(s) {  // since the pattern has the 'g' modifier and defines no capturing groups,  // this will return a list of all chunks which we then classify and wrap as  // PR_Tokens  var matches = s.match(pr_chunkPattern);  var sourceBuf = [];  var sourceBufLen = 0;  var extractedTags = [];  if (matches) {    for (var i = 0, n = matches.length; i < n; ++i) {      var match = matches[i];      if (match.length > 1 && match.charAt(0) === '<') {        if (pr_commentPrefix.test(match)) { continue; }        if (pr_cdataPrefix.test(match)) {          // strip CDATA prefix and suffix.  Don't unescape since it's CDATA          sourceBuf.push(match.substring(9, match.length - 3));          sourceBufLen += match.length - 12;        } else if (pr_brPrefix.test(match)) {          // <br> tags are lexically significant so convert them to text.          // This is undone later.          // <br> tags are lexically significant           sourceBuf.push('\n');          sourceBufLen += 1;        } else {          extractedTags.push(sourceBufLen, match);        }      } else {        var literalText = PR_htmlToText(match);        sourceBuf.push(literalText);        sourceBufLen += literalText.length;      }    }  }  return { source: sourceBuf.join(''), tags: extractedTags };}
meta: 10235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10235/87bc54d81a1823e95306f270cafed4497a76e6b8/prettify.js/clean/src/prettify.js