projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgraded drupal core with security updates
[yaffs-website]
/
node_modules
/
underscore.string
/
helper
/
defaultToWhiteSpace.js
1
var escapeRegExp = require('./escapeRegExp');
2
3
module.exports = function defaultToWhiteSpace(characters) {
4
if (characters == null)
5
return '\\s';
6
else if (characters.source)
7
return characters.source;
8
else
9
return '[' + escapeRegExp(characters) + ']';
10
};