const DOT_PREFIX_RE = /(.).+?\./g ; /**
 * Convert a dot.notated.string into a short
 * version (d.n.string)
 */ export const shortenDottedString = ( input ) => input . replace ( DOT_PREFIX_RE , '$1.' ) ;