function createRouteVariants(cleanRoute, filePath) {
	routes[cleanRoute] = filePath;

	regExpList.forEach(function(regExp) {
		if (cleanRoute !== cleanRoute.replace(regExp, '-')) {
			routes[cleanRoute.replace(regExp, '-')] = filePath;
		}
	});
}
/**
 * Create Route Variants (special character replacements).
 *
 * @param cleanRoute
 * @returns {Array} List of route variants.
 */
Create Route Variants (special character replacements).
@param cleanRoute
@returns {Array} List of route variants.
Create Route Variants ( special character replacements ) . @param cleanRoute @returns { Array } List of route variants .
function createRouteVariants(cleanRoute, filePath) {
	routes[cleanRoute] = filePath;
	regExpList.forEach(function(regExp) {
		if (cleanRoute !== cleanRoute.replace(regExp, '-')) {
			routes[cleanRoute.replace(regExp, '-')] = filePath;
		}
	});
}
function createRouteVariants ( cleanRoute , filePath ) { routes [ cleanRoute ] = filePath ; regExpList . forEach ( function ( regExp ) { if ( cleanRoute !== cleanRoute . replace ( regExp , '-' ) ) { routes [ cleanRoute . replace ( regExp , '-' ) ] = filePath ; } } ) ; }
Create Route Variants (special character replacements).
Create Route Variants ( special character replacements ) .