Fixed glob pattern replacement