iterativeParseExp

fun iterativeParseExp(gather: () -> RegExp, stop: () -> Boolean, associativeReduce: (Int, RegExp, RegExp) -> RegExp): RegExp