regex

Functions
match-data
match-end &optional (subexp 0)
match-start &optional (subexp 0)
match-string &optional (subexp 0)
match-strings
string-match regexp string &key (start 0) end
Macros
save-match-data &body body
string-match  regexp string &key (start 0) end  [Function]
Return start position of first match for REGEXP in STRING, or nil
if there is no match.

First argument REGEXP is a regular expression.
Second argument STRING is the target string.
Keyword arguments START and END are bounding indices in STRING.
 Default values are zero and the length of STRING.

See the `cl-ppcre:scan' function, for more details.
match-start  &optional (subexp 0)  [Function]
Return start index of text matched by last search.

Optional argument SUBEXP (a non-negative integer) specifies a
 parenthesized expression.  A value of zero means the entire
 match.  This is the default.

Value is nil if there is no match.
match-end  &optional (subexp 0)  [Function]
Return end index of text matched by last search.

Optional argument SUBEXP (a non-negative integer) specifies a
 parenthesized expression.  A value of zero means the entire
 match.  This is the default.

Value is nil if there was no match.
match-data   [Function]
Return list of bounding indices on what the last search matched.
save-match-data  &body body  [Macro]
Save match data, execute BODY forms, restore match data.
Value is the value of the last form in BODY.
match-string  &optional (subexp 0)  [Function]
Return string of text matched by last search.

Optional argument SUBEXP (a non-negative integer) specifies a
 parenthesized expression.  A value of zero means the entire
 match.  This is the default.

Value is nil if there is no match.
match-strings   [Function]
Return strings of text matched by last search.

Value is a list.  A list element of nil means that the corresponding
parenthesized expression did not match.