help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-mode-alist - recognize prefix instead of sufix?


From: Christian Herenz
Subject: Re: auto-mode-alist - recognize prefix instead of sufix?
Date: Sat, 22 Mar 2008 16:49:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071128 SUSE/1.1.7-3.4 SeaMonkey/1.1.7 Mnenhy/0.7.5.0


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?

Greets,
Christian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]