all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le TeXnicien de Surface <texnicien.de.surface@chezmoi.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: auto-mode-alist - recognize prefix instead of sufix?
Date: Sat, 22 Mar 2008 16:57:13 +0100	[thread overview]
Message-ID: <47e52c59$0$882$ba4acef3@news.orange.fr> (raw)
In-Reply-To: fs39ph$983$1@registered.motzarella.org

Christian Herenz écrivait :

> 
>> So the regexp should be something like "\\(\\`\\|/\\)foo\.[^/]*\\'"
>> 
> 
> I dont get it working :(
> 
> I have files called:
> nb_edit-newentry-*************.txt (where stars numbers and letters).
> 
> What would be a correct Regexp for that?
something as 
nb_edit-newentry-.*\.txt
should suffice with a direct command such as query-replace-regexp
if you need to write this regexp in a el-file double the \

hih
-- 
Le TeXnicien de Surface


  reply	other threads:[~2008-03-22 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19 23:07 auto-mode-alist - recognize prefix instead of sufix? Christian Herenz
2008-03-19 23:46 ` Lennart Borgman (gmail)
2008-03-21  2:18   ` Kevin Rodgers
     [not found]   ` <mailman.9283.1206065927.18990.help-gnu-emacs@gnu.org>
2008-03-22 15:49     ` Christian Herenz
2008-03-22 15:57       ` Le TeXnicien de Surface [this message]
2008-03-22 16:27         ` Christian Herenz

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

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

  git send-email \
    --in-reply-to='47e52c59$0$882$ba4acef3@news.orange.fr' \
    --to=texnicien.de.surface@chezmoi.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.