fixing rLeft and rRight regex