Include the `extract` value when reporting illegal characters in it