Function: posix-looking-at

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

Signature

(posix-looking-at REGEXP &optional INHIBIT-MODIFY)

Documentation

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

Find the longest match, in accordance with Posix regular expression rules.

By default, this function modifies the match data that match-beginning, match-end and match-data access. If INHIBIT-MODIFY is non-nil, don't modify the match data.

View in manual

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, NILP (inhibit_modify));
}