There is a syntactic block extractor but it has different semantics (always matches terms) and is not appropriate here.