As multiline search isn't available without a hack in OC 2.x and 3.x please tell me how to replace only the first occcurrence of a line "code;" with ocmod.
example
Code: Select all
<file path="catalog/...">
<operation error="abort">
<search><![CDATA[
code;
]]></search>
<add position="replace"><![CDATA[
new code;
]]></add>
</operation>