mozilla-b2g/gaia — pull request #9058 by gtorodelvalle (2013-04-09 09:49:26+00:00)
Title: Bug 859719 - [Dialer] Follow up to bug 835750 - Validate the numbers that are passed to the RIL to dial.

The code included in the patch to bug 835750 is not correct regarding the isValid() function in telephony_helper.js. The case where the match() function of the String object returns null is not properly dealt. Instead, Antonio suggests using the RegExp.test() function.