On Wed, 19 Aug 2020, at 12:02 PM, Ian Davis wrote: > > > On Wed, 19 Aug 2020, at 11:54 AM, Brian Candler wrote: >> Or another thought - perhaps you are looking for *adjacent* repeats only? >> >> In that case strings.Count doesn't help because it counts all occurrences, >> not just adjacent ones. > > I suspect the OP is looking for the longest repeating substring.
Hmm, that's not correct. Sorry for the noise. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/bbc89836-e955-45ed-aaa5-f06669128281%40www.fastmail.com.
