unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* What is the difference between looking-at and an anchored search?
@ 2008-07-17 11:14 Lennart Borgman (gmail)
  2008-07-17 12:17 ` Miles Bader
  0 siblings, 1 reply; 10+ messages in thread
From: Lennart Borgman (gmail) @ 2008-07-17 11:14 UTC (permalink / raw)
  To: Emacs Devel

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?




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-17 17:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 11:14 What is the difference between looking-at and an anchored search? Lennart Borgman (gmail)
2008-07-17 12:17 ` Miles Bader
2008-07-17 12:21   ` Lennart Borgman
2008-07-17 12:29     ` Johan Bockgård
2008-07-17 17:45       ` Lennart Borgman (gmail)
2008-07-17 12:35     ` Miles Bader
2008-07-17 12:42       ` Lennart Borgman
2008-07-17 12:52         ` Miles Bader
2008-07-17 14:17           ` Lennart Borgman
2008-07-17 12:33   ` David Kastrup

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).