function dotcase( str ) {
	str = replace( str, RE_SPECIAL, ' ' );
	str = replace( str, RE_CAMEL, '$1 $2' );
	str = trim( str );
	str = replace( str, RE_WHITESPACE, '.' );
	return lowercase( str );
}
Converts a string to dot case.

@param {string} str - string to convert
@returns {string} dot-cased string

@example
var str = dotcase( 'beep' );
// returns 'beep'

@example
var str = dotcase( 'beep boop' );
// returns 'beep.boop'

@example
var str = dotcase( 'isMobile' );
// returns 'is.mobile'

@example
var str = dotcase( 'Hello World!' );
// returns 'hello.world'