flatiron/resourceful — pull request #68 by ericchaves (2012-05-01 17:02:21+00:00)
Title: changed common.typeOf to use util.isRexExp

When testing an object type, to properly support sandboxed RegExp (ie defined in other node context) we should use ```util.isRegExp``` instead of ```instanceof``` which is prototype based and won't work between contexts.