Function: meson--make-lookup-regexp
meson--make-lookup-regexp is a natively compiled function defined in
meson-mode.el.
Signature
(meson--make-lookup-regexp IDENTIFIER)
Documentation
Make regexp for looking up IDENTIFIER in the Meson reference manual.
Source Code
;; Defined in /nix/store/57kn62wrv0z1jads9j9blmagdm8rh132-emacs-packages-deps/share/emacs/site-lisp/elpa/meson-mode-20240601.1647/meson-mode.el
(defun meson--make-lookup-regexp (identifier)
"Make regexp for looking up IDENTIFIER in the Meson reference manual."
;; In Emacs 27 this could be simplified to (rx ... (literal identifier) ...).
(rx-to-string
`(seq bol (or (seq (+ "#") " " (? "`") ,identifier (or "(" "`" eol))
(seq (* blank) "- `" ,identifier "(")))))