(: Name: fn-replace-28 :)
(: Description: Evaluation of replace function with pattern set to "aa{1}" (exact quantity) for an input string that contains the "aa" string. :)

fn:replace("abracadabraabracadabra", "aa{1}","with")