finding repeating patterns

jbv jbv.silences at club-internet.fr
Sat Aug 26 17:22:53 EDT 2006


well, I just realized that my question isn't very clear...

I DON'T WANT to find how many times pattern "ta" appears
in string "tatata" (for instance)...

What I want to find is : is there any repeating pattern of chars
in any string, which are they and (that's easy) how many times
each pattern appears in the string...

> Hi list,
>
> Does anyone have (or know of) an algorithm to find repeating
> patterns of characters in a string ?
> I'm not sure Transcript (er... Revolution) is fast enough for
> that kind of task, but anyway I thought it was worth asking...
>




More information about the use-livecode mailing list