• Charles Ferguson's avatar
    Add repetition patterns to describe sequences. · b12a1c3c
    Charles Ferguson authored
    Repetitions (up to 5 discrete elements being repeated) are now recognised.
    The algorithm is pretty brute force, but isn't too heavy for small limits
    in repetitions. We test a number of cases, including the odd cases where
    equality means that the results are not exactly what you might expect
    (ie True = 1, so a pattern using True, False, 1, 0 is actually recognised
    as a repetition).
    b12a1c3c