progs/catastrophic/catastrophic9.java
changeset 906 2bf1516d730f
parent 741 e66bd5c563eb
child 959 64ec1884d860
equal deleted inserted replaced
905:15973df32613 906:2bf1516d730f
    18 import java.util.regex.*;
    18 import java.util.regex.*;
    19 
    19 
    20 public class catastrophic9 {
    20 public class catastrophic9 {
    21     public static void main(String[] args) {
    21     public static void main(String[] args) {
    22 
    22 
       
    23 	
    23         //we always run all the tests twice -> to warmup of the JVM
    24         //we always run all the tests twice -> to warmup of the JVM
    24         for (int runs = 0; runs < 2; runs++) {
    25         for (int runs = 0; runs < 2; runs++) {
    25             
    26             
    26             Pattern pattern = Pattern.compile("(a*)*b");
    27             Pattern pattern = Pattern.compile("(a*)*b");
    27             
    28