This function takes a single HTML file or tibble and finds all questions/answers that contain a specified pattern. It returns the question IDs (from the 'id' column) for rows where the answer contains the pattern.
Examples
# Search in a tibble
path <- system.file("extdata", "answers_html", package = "tutorial.helpers")
tibble <- gather_submissions(path, title = "stop")[[1]]
result <- match_questions(tibble, "http")
if (FALSE) { # \dontrun{
# Search in an HTML file
question_ids <- match_questions("path/to/submission.html", "temperance")
# Returns: c("temperance-16", "temperance-19")
} # }