Variable: find-ert-test-regexp
find-ert-test-regexp is a variable defined in hmouse-tag.el.
Value
"^\\s-*(ert-deftest\\s-+%s\\s-"
Documentation
The regexp used to search for an ert test definition.
Note it must contain a '%s' at the place where format
should insert the implicit link type definition name.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-tag.el
;; Change ert-deftest lookups to use this regexp rather than the
;; default, `xref-find-definitions', so is not dependent on TAGS
;; tables or the `default-directory' in the ERT results buffer. When
;; a test is loaded, its symbol property, `ert--test', holds the
;; absolute path to its file, and `find-function' uses that when its
;; entry in `find-function-regexp-alist' is a regexp.
(defconst find-ert-test-regexp "^\\s-*(ert-deftest\\s-+%s\\s-"
"The regexp used to search for an ert test definition.
Note it must contain a '%s' at the place where `format'
should insert the implicit link type definition name.")