fix regex for linux