Add regex recursion test