felixge/node-stack-trace — pull request #5 by sebastianhoitz (2014-01-21 13:59:24+00:00)
Title: Fix parsing the stack-trace when it contains objects in the method name

I noticed that I have some stack traces that contain object definitions in the stack trace.

node-stack-trace was not able to handle these properly, so I adjusted the regular expression a bit. I also added another test case to make sure, that these stack traces are properly handled.

The changes do not break the other tests (however, I did comment out the failing test, see issue https://github.com/felixge/node-stack-trace/issues/4, to make sure that the old tests still pass)