
Oct. 13, 2019
11:56 a.m.
Those are good points, so what about a new method for this rather than an additional behavior for the existing method? After all, "explicit is better than implicit". New method names could be something like "beginswith_any" and "endswith_any", "find_any", "index_any", "count_any", ….