fix regex to recognize std names