aaronpk / Google-Voice-PHP-API

Unmaintaned: Please do not contact me with support requests. If this no longer works, it's because Google Voice changed their systems. I will accept pull requests that fix things. Check out http://twilio.com for a much better API for sending and receiving SMSs.
Other
228 stars 108 forks source link

Updated RegEx for new HTML #21

Closed auctionsjeff closed 8 years ago

auctionsjeff commented 8 years ago

Google has updated their ServiceLogin HTML (yesterday sometime), and this new RegEx matches it correctly. Added as an elseif to preserve old way in case it is still used.

glassejt commented 8 years ago

Perfect. Applied your change and it is now logging in as expected. Thank you!

ahndee commented 8 years ago

Verified to work - I actually did the same change myself and came here after to figure out how to submit a pull request. Next time I'll come here first…