[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regexp for marking source code
From: |
David Kastrup |
Subject: |
Re: Regexp for marking source code |
Date: |
Mon, 07 Aug 2006 19:34:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ken Goldman <kgold@watson.ibm.com> writes:
> The dired Q command seems quite useful, but
> regexp syntax is obscure enough that I can't quite
> get what I want.
>
> What would be a regexp for all .c and .h files.
> In a Unix shell, it would be *.[ch], What's the
> regexp equivalent?
.*\.[ch]\'
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum