Fixing get_sane_callback due to not realizing it was a regex