Vocabulary
regexp

Inputs
stringa string
regexpa regexp
replacementa string


Outputs
resulta string


Word description
Replaces substrings which match the input regexp with the given replacement text. The boundaries of the substring are chosen by the strategy used by all-matching-slices.

Examples
USING: prettyprint regexp ; "python is pythonic" R/ python/ "factor" re-replace .
"factor is factoric"


See also
re-replace-with

Definition