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

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