title: How do I match unicode characters in Java
body: <p>I m trying to match unicode characters in Java.</p>
  
  <p>Input String: <code>informa</code></p>
  
  <p>String to match : <code>informátion</code></p>
  
  <p>So far I ve tried this:</p>
  
  <pre><code>Pattern p= Pattern.compile("informa[\u0000-\uffff].*", (Pattern.UNICODE_CASE|Pattern.CANON_EQ|Pattern.CASE_INSENSITIVE));
      String s = "informátion";
      Matcher m = p.matcher(s);
      if(m.matches()){
          System.out.println("Match!");
      }else{
          System.out.println("No match");
      }
  </code></pre>
  
  <p>It comes out as "No match". Any ideas?</p>