fork download
  1. import java.util.regex.*;
  2.  
  3. class Ex {
  4. public static void main(String[] args) {
  5. Pattern p = Pattern.compile("foo");
  6. Matcher m = p.matcher("foo");
  7. }
  8. }
Success #stdin #stdout 0.08s 51164KB
stdin
Standard input is empty
stdout
Standard output is empty