Fix grading regex to left and right anchor.