fork(4) download
  1. import java.util.*;
  2. import java.util.regex.*;
  3.  
  4. class Ideone
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. String s = "ëè";
  9. System.out.println(s.matches("\\p{InLatin_1_Supplement}+"));
  10. }
  11. }
Success #stdin #stdout 0.09s 48124KB
stdin
Standard input is empty
stdout
true