lResource(
  <span class="lit">"src/test/resources/regex-matcher/rules.txt"</span>,
  ReadAs.TEXT,
  <span class="std">Map</span>(<span class="lit">"delimiter"</span> -&gt; <span class="lit">","</span>)
)

ExternalResource(
  <span class="lit">"src/test/resources/regex-matcher/rules.txt"</span>,
  ReadAs.SPARK,
  <span class="std">Map</span>(<span class="lit">"format"</span> -&gt; <span class="lit">"text"</span>, <span class="lit">"delimiter"</span> -&gt; <span class="lit">","</span>)
)</pre></div><dl class