Fixing compilation message regex