fork download
  1. import java.util.*;
  2. import java.lang.*;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. String regex = " coords=\"466,79,13\" href=\"#g30\" alt=\"\" onmouseover=\"return overlib('<b>New Brighton Park</b><br>Windemere, Nootka & Waterfront' , SNAPX, 20, SNAPY, 20);\" onmouseout=\"return nd(";
  9.  
  10. //comment the following line to invoke failure
  11. regex = regex.replaceAll("\\(", "\\\\(").replaceAll("\\)", "\\\\)");
  12.  
  13. "".split(regex);
  14. }
  15. }
Success #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout
Standard output is empty