2 Apr
2014
2 Apr
'14
7:24 a.m.
On Tue, Apr 01, 2014 at 09:41:40AM -0400, random832@fastmail.us wrote:
I have a mostly unrelated question. Is there a _general_ subsequence search function [that works on lists or even iterables], or is it only available for str and bytes?
There's nothing built-in, but here is a naive version: http://code.activestate.com/recipes/577850-search-sequences-for-sub-sequence... -- Steven