emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the difference between looking-at and an anchored search?


From: Lennart Borgman (gmail)
Subject: What is the difference between looking-at and an anchored search?
Date: Thu, 17 Jul 2008 13:14:13 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

looking-at does not have a BOUND parameter, but re-search-forward have. This makes re-search-forward a bit more flexible.

I am looking at some code where I would have use for that flexibility, but I wonder if there is any drawback with replacing looking-at with re-search-forward (with an achored pattern).

Is there any? Performance?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]