update regex for gcc