Function: verb--http-methods-regexp
verb--http-methods-regexp is a natively compiled function defined in
verb.el.
Signature
(verb--http-methods-regexp)
Documentation
Return a regexp to match an HTTP method.
HTTP methods are defined in verb--http-methods.
Additionally, allow matching verb--template-keyword.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb--http-methods-regexp ()
"Return a regexp to match an HTTP method.
HTTP methods are defined in `verb--http-methods'.
Additionally, allow matching `verb--template-keyword'."
(let ((terms (append verb--http-methods
(mapcar #'downcase verb--http-methods)
(list verb--template-keyword
(downcase verb--template-keyword)))))
(mapconcat #'identity terms "\\|")))