use m// op with \G instead of s///

`s///` is useless if you don't use the processed string. Use `m//` and `\G` instead.