title: How to detect in Java if string contains Cyrillic?
body: <p>I want to detect if a string contains Cyrillic letters.</p>
  
  <p>In PHP I did something like this:</p>
  
  <pre><code>preg_match('/\p{Cyrillic}+/ui', $text)
  </code></pre>
  
  <p>What would work the same in Java?</p>