i keep running into the error "sub is not defined" when using jq version 1.6
for example: "bar" | sub("b","f")
(see on jqplay: https://jqplay.org/s/ggmuK5WvZF)
here is a link to the documentation: https://stedolan.github.io/jq/manual/v1.6/#sub(regex;tostring)sub(regex;string;flags)
what am i doing wrong?