From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: short regexp to match any character? Date: Sun, 12 Mar 2006 00:07:48 +0200 Organization: JURTA Message-ID: <87hd64lkt6.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142116612 559 80.91.229.2 (11 Mar 2006 22:36:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 22:36:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 23:36:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIChY-0001T4-Kn for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 23:36:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIChY-0001eu-4P for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 17:36:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FICh6-0001eR-Sd for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FICh4-0001dI-Fo for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FICh4-0001dB-8I for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:36:14 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FICkf-0006Zo-UY for emacs-devel@gnu.org; Sat, 11 Mar 2006 17:39:58 -0500 Original-Received: from mail.neti.ee (80-235-46-190-dsl.mus.estpak.ee [80.235.46.190]) by Relayhost2.neti.ee (Postfix) with ESMTP id DC059F1E6; Sun, 12 Mar 2006 00:36:11 +0200 (EET) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sat, 4 Mar 2006 10:34:16 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51490 Archived-At: > 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 http://www.jurta.org/emacs/