progs/catastrophic/catastrophic9.java
changeset 906 e7e7fe274f5c
parent 741 6512884e03b4
child 958 6caee1c0222e
equal deleted inserted replaced
905:d8f870aad77d 906:e7e7fe274f5c
    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