• + 1 comment

    ^(\2tic|(tac))+$ in this regex why its getting 2 times the reference of the 2nd group