[clug] Substring repetition detection

David Price david.price at anu.edu.au
Wed Jun 25 17:37:00 EST 2003


On Wed, Jun 25, 2003 at 05:27:03PM +1000, David Ananian-Cooper wrote:
> a b c d a b c d a b z f g
> - - - - 4 4 4 4 4 4 - - -
> 
> here 4 >= 6, but the last 2 4's should not be considered as part of the 
> repeating pattern

Good point :)

I guess you'd round down to the next lowest multiple of n, where n is
4 in this case.

-- 
David.Price at anu.edu.au
uni phone: +61-2-612-58608  home phone: +61-2-6251-1597 




More information about the linux mailing list