(: Name: fn-replaceErr-1:)
(: Description: Invalid flag for fn:matches fourth argument.:)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

fn:replace("abracadabra", "bra", "*", "p") 