tightening up regexp to not include decendant classes