The <resultsblock> element defines how the system processes the results of the command lines executed from the related <execute> element. The <resultsblock> element is only used within a <command> element. The <resultsblock> element can be nested to partition results.
<resultsblock startpattern="" endpattern="" >
<match>
<bom>
<field/>
</bom>
<adduser/>
<setenv/>
<run/> (The <run> element can be used to run commands within other commands)
</match>
<setenv/>
</resultsblock>
<resultsblock
beginpattern="^Change (\d+) by (.*?)@(.*?) on (.*?) (.*?)$"
endpattern="^Differences ...$">
<match pattern="(?=^(?:(?!Differences ...).)*$).?">
<bom category="Detail" section="descriptions">
<field name="Description" text="$_"/>
</bom>
</match>
</resultsblock>