regex substitution

slayer@kaiwan.com (slayer@kaiwan.com)
Mon, 4 Mar 1996 21:42:17 PST


>Is there a verb which does substitution based on regex pattern
>matching?  $string_utils:substitute doesn't, but it would be nice
>if it did.  If not, then does someone have some pre-written code
>which does this.  I'd rather not write it myself if it's already
>been done.  :)
>

doesn't the builtin function substitute() perform this function?