String: @re: catch “invalid group reference” exceptions. (Fixes second issue of GH-824.)