added regex for delimiter in reducers