<participant>
     <quickSearch><![CDATA[BOF]]></quickSearch>
     <insertText location="beforeSelection">
<![CDATA[
<% If Not @@rsName@@.EOF Or Not @@rsName@@.BOF Then %>
]]>
     </insertText>
     <searchPatterns whereToSearch="directive">
       <searchPattern paramNames="rsName"><![CDATA[/<%\s*If\s+Not\s+(\w+)\.EOF\s+Or\s+Not\s+\w+\.BOF\s+Then\s*%>/i]]></searchPattern>
     </searchPatterns>
</participant>
