[Top][All Lists]

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

Re: short regexp to match any character?

From: Juri Linkov
Subject: Re: short regexp to match any character?
Date: Sun, 12 Mar 2006 00:07:48 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> I'm thinking it would help Emacs users to make it easy (short) to match any
> character, including newline. Am I missing something that's already there?
> If not, would this be a useful feature to add?

I think this feature could be implemented by analogy with
search-spaces-regexp and search-whitespace-regexp, i.e.
after setting a new variable `search-dot-regexp' to "\\(.\\|[\\n]\\)",
`.' would match newlines too.

Juri Linkov

reply via email to

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