This is as opposed to returning just the content marked with capture flags... essentially returning the .group("head"), etc.
Probably implement a no-arg call that provides everything the Parser matched, with bool head/body/tail args (all defaulting to True) to select among the subsets.
This is as opposed to returning just the content marked with capture flags... essentially returning the
.group("head")
, etc.Probably implement a no-arg call that provides everything the
Parser
matched, withbool
head/body/tail args (all defaulting toTrue
) to select among the subsets.