unconed/TermKit — pull request #71 by derDoc (2012-01-23 05:05:28+00:00)
Title: Fixed Usage of RegExp Objects

RegExp Objects, that is Regular Expressions created with /.../ were used wrongly throughout the code, as first remarked by boog.
They cannot be matched on a string just like: /.../(string), but need to be called upon with either test or exec, cf. here: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp.

I also commented out require.paths which is deprecated in node 0.6.8 and thus does not work.
You need to add the requisite paths to your env under NODE_PATH, like boog had also remarked in #68.

With these out of the way, and recompiling TermKit for 10.7 it actually worked for me.