mozilla-b2g/gaia — pull request #7691 by RudyLu (2013-01-19 21:16:19+00:00)
Title: Bug 817850 - Correctly parse number out of hash after contact picking in...

... SMS

**Root Cause**
The number returned from contact picking may contain space, like "0916xxxxxx " or "0916xxxxxx CarrierName". (This format is from Contact apps. value selector logic)
SMS could not handle this form of number in hashchange function.

**Solution**
Refine the RegExp in SMS to correctly parse the number out.
The assumption is that the number in hash should not contain space.