Function: s-matches?
s-matches? is a byte-compiled function defined in s.el.
Signature
(s-matches\? REGEXP S &optional START)
Documentation
Does REGEXP match S? If START is non-nil the search starts at that index.
This is a simple wrapper around the built-in string-match-p.
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-matches? (regexp s &optional start)
"Does REGEXP match S?
If START is non-nil the search starts at that index.
This is a simple wrapper around the built-in `string-match-p'."
(declare (side-effect-free t))
(s--truthy? (string-match-p regexp s start)))