Fix sed regex so that indented gems are also matched.