1 2 3 4 5 6
var DIGITS = /^\d/; exports.startsWithDigit = startsWithDigit; function startsWithDigit(str) { return DIGITS.test(str); }