fixed node and cookie regex to be more inclusive, more whitespace

@evanmcc found an issue with the egrep regex we were using on OS X 10.7.5. This replacement works on OS X 10.8.4 and 10.7.5 and takes into account unlimited whitespace