unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: michael@cadilhac.name (Michaël Cadilhac)
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: accept more version names in file-name-sans-versions
Date: Sat, 22 Sep 2007 16:02:13 -0400	[thread overview]
Message-ID: <jwvtzpmlb9y.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ps0aacgt.fsf@cadilhac.name> ("Michaël Cadilhac"'s message of "Sat\, 22 Sep 2007 18\:31\:30 +0200")

> BTW, the regexp is :
> 		     (or (string-match "\\.~[-0-9a-z._]+~\\'" name)

> If the user has case-fold-search set to nil, it's risky to not put A-Z
> here, nop?

Not quite: you want [:alnum:] in place of 0-9a-zA-Z.


        Stefan

  parent reply	other threads:[~2007-09-22 20:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20  1:14 accept more version names in file-name-sans-versions Dan Nicolaescu
2007-09-20  8:52 ` Juri Linkov
2007-09-22  2:14   ` Dan Nicolaescu
2007-09-22  8:52     ` Andreas Schwab
2007-09-22 15:48       ` Richard Stallman
2007-09-22 16:00         ` Andreas Schwab
2007-09-23 15:05           ` Richard Stallman
2007-09-23 16:11             ` Andreas Schwab
2007-09-24 18:20               ` Richard Stallman
2007-09-22 16:20         ` Dan Nicolaescu
2007-09-22 16:31           ` Michaël Cadilhac
2007-09-22 17:52             ` Dan Nicolaescu
2007-09-22 20:02             ` Stefan Monnier [this message]
2007-09-22 20:04             ` Stefan Monnier
2007-09-23 16:14               ` Dan Nicolaescu

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=jwvtzpmlb9y.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=michael@cadilhac.name \
    /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).