fixes error in regexp matching in banana-grading