-
Notifications
You must be signed in to change notification settings - Fork 2
Open
@jwodder
Description
PrecededSplitter, SeparatedSplitter, and TerminatedSplitter should support separator being an Iterable[AnyStr], in which case input will effectively be split on re.compile("|".join(map(re.escape, separator))), but using a trie instead of a regex.
- Ambiguities should resolve to the first match in the iterable.