2 module.exports = function () {
3 var str = [].map.call(arguments, function (str) {
5 }).filter(function (str) {
13 if (str.length === 1 || !(/[_.\- ]+/).test(str) ) {
14 if (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) {
18 return str.toLowerCase();
22 .replace(/^[_.\- ]+/, '')
24 .replace(/[_.\- ]+(\w|$)/g, function (m, p1) {
25 return p1.toUpperCase();