[sr-dev] git:master:84517c14: regex: init globals for safer shutdown on failure