Sha256: b944b99e40f4739f2a02b71418e415fbb923e1824ee87801a77f50ab6503558c
Contents?: true
Size: 270 Bytes
Versions: 19
Compression:
Stored size: 270 Bytes
Contents
var escapeRegExp = require('./escapeRegExp'); module.exports = function defaultToWhiteSpace(characters) { if (characters == null) return '\\s'; else if (characters.source) return characters.source; else return '[' + escapeRegExp(characters) + ']'; };
Version data entries
19 entries across 19 versions & 1 rubygems