fix bug in regex; facepalm.