Abstracted, getting corresponding close delimiter