extract_roc_text\(stats::lm, "general", "references", NA\) does not match "^Chambers.* J.*M.* \\(1992\\)".
Actual value: "\{\\\\if\{html\}\{⁠\\\\out\{<span id="reference\+lm\.Rd\+R\+3AChambers\+3A1992\+3Ac4">\}\}Chambers JM \(1992\)\.\\n\\\\dQuote\{Linear Models\.\}\\nIn Chambers JM, Hastie TJ \(eds\.\), \\\\emph\{Statistical Models in S\}, chapter 4\.\\nWadsworth & Brooks/Cole\.\\\\if\{html\}\{\\\\out\{</span>\}\}\}\\n  Wilkinson, G\. N\. and Rogers, C\. E\. \(1973\)\.\\n  Symbolic descriptions of factorial models for analysis of variance\.\\n  \\\\emph\{Applied Statistics\}, \\\\bold\{22\}, 392--399\.\\n  \\\\ifelse\{text\}\{doi:10\.2307/2346786 <https://doi\.org/10\.2307/2346786>\}\{\\\\ifelse\{latex\}\{\\\\href\{https://doi\.org/10\.2307/2346786\}\{doi:10\.2307\\\\out\{\\\\\\\\slash\{\}\}2346786\}\}\{\\\\href\{https://doi\.org/10\.2307/2346786\}\{doi:10\.2307/2346786\}\}\}\."

"extract_roc_text extracts parts of a function documentation"
"^\\\\code\\{lm\\} is used to fit linear models"
"^\\\\code\\{lm\\} returns an object of"
"^Considerable care is needed when using"
"\\(NA_character_\\); .*check your inputs; .*co\\-documented"
"extract_roc_text uses character function name input"
"extract_roc_text errors with fun as non-function/character input"
"extract_roc_text errors wtih fun as character vector"
"extract_roc_text errors wtih multiple/blank selections unless type = 'dot_params'"
"extract_roc_text errors when selecting ... with type = 'dot_params'"
"extract_roc_text errors when selecting non-existing formalArgs or section name"
"c\\((.(?<!formula))*datum.*\\) .*match .*formalArgs.*positive or negative"
"c\\((.(?<!formula))*\\-datum.*\\) .*match .*formalArgs.*positive or negative"
"extract_roc_text errors when selecting non-existing function or function without documentation"
"extract_roc_text errors with function that appear in multiple packages"

extract_roc_text extracts parts of a function documentation