This takes two arguments, just like gsub: a pattern and a replacement.
It overwrites the entire element wherever the pattern matches. If you
want to substitute only the matched portion, use %regex=% instead; to
replace matches with nothing (""), use %-% or %-=%.
Value
Used for the side effect of reassigning x in the calling
environment; returns the modified x invisibly.
Author
Ben Wiseman, benjamin.h.wiseman@gmail.com