Error in `grepl(paste0(mock_file, "\n1:FILE_CONTENT"), grep_search(list(query = "CONTENT"))$output)`: invalid regular expression 'D:\temp\2025_09_22_23_30_17_15462\RtmpEdEqIS\file2637020eb432e.R
1:FILE_CONTENT', reason 'Invalid back reference'

test_that("grep_search - invalid args", {
expect_error(grep_search(list()), "Invalid arguments for GrepSearch")
test_that("grep_search - not found file", {