Function: bazel--match-natnum
bazel--match-natnum is a natively compiled function defined in
bazel.el.
Signature
(bazel--match-natnum INDEX)
Documentation
Return the natural number matched by the subgroup INDEX.
Return 0 if the subgroup match isn’t an integer.
Source Code
;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defun bazel--match-natnum (index)
"Return the natural number matched by the subgroup INDEX.
Return 0 if the subgroup match isn’t an integer."
(declare (ftype (function (integer) integer))
(side-effect-free t))
(cl-check-type index natnum)
(cl-the natnum (string-to-number (match-string-no-properties index))))