Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Long Repeat by oba-ba
function longRepeat(line) {
let data = line.match(/(\w)\1*/g);
return data ? Math.max(...data.map(n => n.length)) : 0;
}
Aug. 5, 2019
Comments: