regsub(n) on macOS
The text d198a663ee00, as Mac OS X 10.2.2, Mac OS X 10.2.1, Mac OS X 10.2 shipped it.
Perform substitutions based on regular expression pattern matching
Flags it lists
-
-- -
-all -
-expanded -
-line -
-lineanchor -
-linestop -
-nocase -
-start