title: Matching arabic text with regex
body: <p>I'm trying to match only arabic text using regex but I'm getting an exception. Here's my code:</p>
  
  <pre><code>txt.matches("\\P{Arabic}+")
  </code></pre>
  
  <p>Here's the exception:</p>
  
  <p>Exception in thread "main" java.util.regex.PatternSyntaxException: Unknown character property name {Arabic} near index 9
  \P{Arabic}+</p>