title: Find one or more word in string using Regex in Kotlin
body: <p>I'm making a method in Kotlin using Regex that checks if a string contains one or more of certain pronouns (such as &quot;I&quot;, &quot;we&quot;, &quot;you&quot;, etc). E.g. &quot;We are a tech company&quot; should be a match, &quot;Web is for spiders&quot; should not be a match.</p>
  <p>I tried with this code:</p>
  <pre><code>fun main() {
      val text = &quot;We are testing!&quot;
      val regex = &quot;/\b(i|you|we)\b/g&quot;.toRegex()
      if (regex.containsMatchIn(text.lowercase())) {
          println(&quot;match&quot;)
      } else {
          println(&quot;no match&quot;)
      }
  }
  </code></pre>
  <p>, but it prints &quot;no match&quot;.</p>