`inreplace` can take an array as the first parameter.