If you look at the re module's documentation you'll see that regex flags are tied to the Regex objects, rather than on a procedure level (this could be changed, but so far no-one's complained, and no pull requests have been presented to expand functionality on a per-procedure basis).
import re
let replacer = re("world", {reIgnoreCase})
echo(replace("Hello World", replacer, "Universe"))