Function: posix-looking-at

posix-looking-at is a function defined in search.c.

Signature

(posix-looking-at REGEXP)

Documentation

Return t if text after point matches REGEXP according to Posix rules.

Find the longest match, in accordance with Posix regular expression rules. This function modifies the match data that match-beginning, match-end and match-data access; save and restore the match data if you want to preserve them.

Probably introduced at or before Emacs version 19.29.

Source Code

// Defined in /usr/src/emacs/src/search.c
{
  return looking_at_1 (regexp, 1);
}