Next: , Previous: , Up: Regular Expression Searching in Programs   [Index]


8.4.3.4 looking-at

Function: looking-at regexp

This function determines whether the text in the current buffer directly following point matches the regular expression REGEXP. The result is ‘t’ if so, ‘nil’ otherwise. This function does not move point, but it does update the match data.