Add regex sanity checks on startup and add --sanity-check