hi, i realized i could just change the regular expressions in getcjs, i don't think it can get much smaller than this:<br>
<br>
<pre> $aSearch = array('/\/\/.*/', // c++ style comments - //something<br>                     '/\/\*.*\*\//sU', // c style comments - /* something */<br>                     '/\s{2,}/s', //2 or more spaces down to one space
<br>                     '/\n/', //newlines removed<br>                     '/\s*(=|;|\}|\{|\)|\(|\)|\+|\*|\-|\,|\/|&gt;|&lt;|:|\?|\|\||\&amp;\&amp;)\s*/',<br>                     '/\}(\w+)/',<br>                     '/\};(catch|finally|else)/',
<br>                     );<br>    <br>    $aReplace = array( '',<br>                       '',<br>                       ' ',<br>                       '',<br>                       '\1',<br>                       '};\1',
<br>                       '}\1',<br>                      );</pre>
that works for kaMap, might break other stuff.<br>