---
title: "partialMatch"
sidebar_label: "partialMatch"
description: "Kotlin binding reference: partialMatch."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Regex](index.md)/[partialMatch](partialMatch.md)

# partialMatch

[common]\
fun [partialMatch](partialMatch.md)(text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)

True when the pattern matches somewhere in [text](partialMatch.md).