Fix to activity logging regex for Linux