)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000004,"name":"Florian Klink","email":"flokli@flokli.de","username":"flokli"},"change_message_id":"2f877826883d688affb6d9ee76060e50bb4ea81b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"5c4e6f8e_17ca4078","updated":"2025-06-30 08:32:58.000000000","message":"I realized we already require the regex to be a \u0026str, so we can do that conversion before and have ErrorKind::InvalidRegex(String).","commit_id":"d6bd5959abb9917e652cb3d218a9063f4e23d9d4"}],"snix/eval/src/builtins/mod.rs":[{"author":{"_account_id":1000035,"name":"Bence Nemes","email":"nemes.bence1@gmail.com","username":"starnick4444"},"change_message_id":"14c100a877f020135116c5f46e41ff845739af25","unresolved":true,"context_lines":[{"line_number":1213,"context_line":"        let s \u003d str.to_contextful_str()?;"},{"line_number":1214,"context_line":"        let text \u003d s.to_str()?;"},{"line_number":1215,"context_line":"        let re \u003d regex.to_str()?;"},{"line_number":1216,"context_line":"        let re \u003d cached_regex(re.to_str()?).unwrap();"},{"line_number":1217,"context_line":"        let mut capture_locations \u003d re.capture_locations();"},{"line_number":1218,"context_line":"        let num_captures \u003d capture_locations.len();"},{"line_number":1219,"context_line":"        let mut ret \u003d Vec::new();"}],"source_content_type":"text/x-rustsrc","patch_set":2,"id":"f3e49780_0033f8be","line":1216,"updated":"2025-06-29 19:40:15.000000000","message":"```suggestion\n        let re \u003d cached_regex(re.to_str()?)\n            .map_err(|_| ErrorKind::InvalidRegex(re))?;\n```","commit_id":"01d47019bc219c93aadeb087dc2cdebdcdd14d53"},{"author":{"_account_id":1000004,"name":"Florian Klink","email":"flokli@flokli.de","username":"flokli"},"change_message_id":"15443e8a446b39246ac53ad79b4b423ef64fc25c","unresolved":false,"context_lines":[{"line_number":1213,"context_line":"        let s \u003d str.to_contextful_str()?;"},{"line_number":1214,"context_line":"        let text \u003d s.to_str()?;"},{"line_number":1215,"context_line":"        let re \u003d regex.to_str()?;"},{"line_number":1216,"context_line":"        let re \u003d cached_regex(re.to_str()?).unwrap();"},{"line_number":1217,"context_line":"        let mut capture_locations \u003d re.capture_locations();"},{"line_number":1218,"context_line":"        let num_captures \u003d capture_locations.len();"},{"line_number":1219,"context_line":"        let mut ret \u003d Vec::new();"}],"source_content_type":"text/x-rustsrc","patch_set":2,"id":"323e4b28_1018b11d","line":1216,"in_reply_to":"f3e49780_0033f8be","updated":"2025-06-29 19:54:46.000000000","message":"Fix applied.","commit_id":"01d47019bc219c93aadeb087dc2cdebdcdd14d53"}]}
