From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: regexp question Date: Tue, 26 Sep 2006 19:16:51 +0200 Message-ID: <337ACD55-1394-47C6-BF2F-CE72365E52A6@Web.DE> References: <9773EFADA4FF6C43A49824D50B1539A7018ACD7D@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1159291057 5718 80.91.229.2 (26 Sep 2006 17:17:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2006 17:17:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, rutt.4@osu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 26 19:17:34 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSGYO-0000Yw-P6 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2006 19:17:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSGYO-0000M0-5M for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2006 13:17:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GSGYC-0000Km-LY for help-gnu-emacs@gnu.org; Tue, 26 Sep 2006 13:16:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GSGYB-0000Jb-Me for help-gnu-emacs@gnu.org; Tue, 26 Sep 2006 13:16:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSGYB-0000JY-II for help-gnu-emacs@gnu.org; Tue, 26 Sep 2006 13:16:55 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GSGcr-0006Ak-Ab for help-gnu-emacs@gnu.org; Tue, 26 Sep 2006 13:21:45 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 032712272EBE; Tue, 26 Sep 2006 19:16:54 +0200 (CEST) Original-Received: from [87.193.39.123] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GSGY9-0002JY-00; Tue, 26 Sep 2006 19:16:53 +0200 In-Reply-To: <9773EFADA4FF6C43A49824D50B1539A7018ACD7D@exbe04.intra.dlr.de> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37649 Archived-At: Am 26.09.2006 um 14:09 schrieb : > how can i find this text block with a regular expression? [-_ !",./0-9:<=3D>A-Za-z ]* - has to come first, _ is just close, then come SPACE and TAB, ..., =20 and finally a newline, C-q C-j. To determine the characters in the region do this shell-command-on-=20 region: sed -e 's/\(.\)/\1=B7/g' | tr '=B7' '\012' | sort -u -- Greetings Pete "I wouldn't recommend sex, drugs or insanity for everyone, but =20 they've always worked for me." -- Hunter S. Thompson