Ph3nol/NotificationPusher — pull request #44 by phindmarsh (2014-07-18 04:22:45+00:00)
Title: Fixed token regex for GCM

The token regex for the GCM adapter is a little off, since it's looking for only one of the specified characters in the string, not that the string only contains those characters.

I've tweaked it a little bit so that it no longer matches `AB*()*` which contains invalid characters. Also updated the tests to have an additional check for the invalid token.