>Returns:</dt>
<dd>True if the search term is found.</dd>
</dl>
</div>
</section>
</li>
<li>
<section class="detail" id="contains(java.util.regex.Pattern)">
<h3>contains</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">contains</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/util/regex/Pattern.html" title="class or interface in java.util.regex" class="ext