http://www.perlmonks.org?node_id=1039869


in reply to Re: Finding repeat sequences. (Results:Part 1)
in thread Finding repeat sequences.

Looking for 'fredfre' in 'fredfrefredfr' tye found 'fredfrefred'; excluded from further consideration

Looks like you changed your definition of your desired results, so it was silly to use a "solution" tailored to a different definition.

This particular example matches my original speculation of what made sense, which means you might want to try my original solution. Though, I didn't wade through everything trying to find the various redefinitions of what was desired (besides the ones given in reply to my nodes) and then sort them chronologically in order to figure out what the new requirements actually are.

- tye        

  • Comment on Re^2: Finding repeat sequences. (definitions; part $n)

Replies are listed 'Best First'.
Re^3: Finding repeat sequences. (definitions; part $n)
by BrowserUk (Patriarch) on Jun 20, 2013 at 01:11 UTC

    There is no new requirement. Re-read the OP.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.