Sha256: 1874564a9feb8b4c34f11f991a2d12d80bf650bad7fc589854c188c86d0f9c5d
Contents?: true
Size: 404 Bytes
Versions: 265
Compression:
Stored size: 404 Bytes
Contents
/** Used to match words composed of alphanumeric characters. */ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; /** * Splits an ASCII `string` into an array of its words. * * @private * @param {string} The string to inspect. * @returns {Array} Returns the words of `string`. */ function asciiWords(string) { return string.match(reAsciiWord) || []; } module.exports = asciiWords;
Version data entries
265 entries across 263 versions & 30 rubygems