Added preg_match() for generating link for 'uses constant'