|
| From: | Stefan Monnier |
| Subject: | Re: accept more version names in file-name-sans-versions |
| Date: | Sat, 22 Sep 2007 16:02:13 -0400 |
| User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> 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
| [Prev in Thread] | Current Thread | [Next in Thread] |