unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: Re: Looking at function
Date: Tue, 28 Jun 2022 15:22:14 -0400	[thread overview]
Message-ID: <jwvpmis4mry.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <86edz8k6q1.fsf@mail.linkov.net> (Juri Linkov's message of "Tue,  28 Jun 2022 21:01:27 +0300")

> 1. Replace ‘looking-at’ with a call to the search function,
>    but keep it at point by prepending ‘\\=’ to the regexp.
>    Can it break a complex regexp?

I can't see why.  Of course, you want to use \\=\\(?:...\\) but
that should be reliable.


        Stefan




  reply	other threads:[~2022-06-28 19:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 18:01 Looking at function Juri Linkov
2022-06-28 19:22 ` Stefan Monnier [this message]
2022-07-01 15:49   ` Juri Linkov
2022-07-11  1:26 ` Dmitry Gutov
2022-07-11 19:14   ` Juri Linkov
2022-07-12  0:19     ` Dmitry Gutov
2022-07-12  0:29       ` Stefan Monnier
2022-08-17  0:23         ` Dmitry Gutov
2022-07-12  7:50       ` Juri Linkov
2022-08-17  0:27         ` Dmitry Gutov
2022-08-21 16:09           ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvpmis4mry.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).