fix bug in isDataClass where "class 'classname'" matches end on line not whole line