Function: posix-string-match
posix-string-match is a function defined in search.c.
Signature
(posix-string-match REGEXP STRING &optional START INHIBIT-MODIFY)
Documentation
Return index of start of first match for Posix REGEXP in STRING, or nil.
Find the longest match, in accord with Posix regular expression rules.
Case is ignored if case-fold-search is non-nil in the current buffer.
If INHIBIT-MODIFY is non-nil, match data is not changed.
If INHIBIT-MODIFY is nil or missing, match data is changed, and
match-end and match-beginning give indices of substrings matched
by parenthesis constructs in the pattern. You can use the function
match-string to extract the substrings matched by the parenthesis
constructions in REGEXP. For index of first char beyond the match, do
(match-end 0).
Probably introduced at or before Emacs version 19.29.
Source Code
// Defined in /usr/src/emacs/src/search.c
{
return string_match_1 (regexp, string, start, 1, NILP (inhibit_modify));
}