subsitution adverb :samemark

Documentation for subsitution adverb :samemark assembled from the following types:

language documentation Regexes

From Regexes

(Regexes) subsitution adverb :samemark

The :samemark or :mm adverb implies :ignoremark for the regex, and in addition, copies the markings from the matched characters to the replacement string:

given 'äộñ' {
    say S:mm/ a .+ /uia/;           # OUTPUT: «üị̂ã» 
}