all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: C.Strobl@dlr.de, help-gnu-emacs@gnu.org, rutt.4@osu.edu
Subject: Re: regexp question
Date: Sat, 30 Sep 2006 00:03:22 +0200	[thread overview]
Message-ID: <87fyeacout.fsf@hans.local.net> (raw)
In-Reply-To: <337ACD55-1394-47C6-BF2F-CE72365E52A6@Web.DE> (Peter Dyballa's message of "Tue\, 26 Sep 2006 19\:16\:51 +0200")

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 26.09.2006 um 14:09 schrieb <C.Strobl@dlr.de>:
>
>> how can i find this text block with a regular expression?
>
> <column_right>[-_	 !",./0-9:<=>A-Za-z
> ]*</column_right>
>
> - has to come first, _ is just close, then come SPACE and TAB, ...,
> and finally a newline, C-q C-j.
>
> To determine the characters in the region do this shell-command-on- 
> region:
>
> 	sed -e 's/\(.\)/\1·/g' | tr '·' '\012' | sort -u
                          ^

I assume above construct is necessary for (older) UNIX systems?  I
tried:

  sed -e 's/\(.\)/\1\n/g | sort -u

which is working on my Gnu/Linux system.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

  reply	other threads:[~2006-09-29 22:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7384.1159203371.9609.help-gnu-emacs@gnu.org>
2006-09-26  0:52 ` replace a textblock in multiple files Benjamin Rutt
2006-09-26 11:18   ` AW: " C.Strobl
2006-09-26 12:09     ` regexp question C.Strobl
2006-09-26 17:16       ` Peter Dyballa
2006-09-29 22:03         ` Dieter Wilhelm [this message]
2006-09-30  8:53           ` Peter Dyballa
     [not found]     ` <mailman.7422.1159272599.9609.help-gnu-emacs@gnu.org>
2006-09-27  7:58       ` Florian Kaufmann
2011-01-06 16:14 Thorsten Bonow
2011-01-07 10:05 ` tomas
     [not found] <20040924194238.40080.qmail@web51606.mail.yahoo.com>
2004-09-28 18:21 ` RegExp question JayBingham
  -- strict thread matches above, loose matches on Subject: below --
2004-09-23 20:23 JayBingham
2004-09-24 19:43 ` Ryan Bowman
     [not found] <mailman.3776.1095958718.1998.help-gnu-emacs@gnu.org>
2004-09-23 18:09 ` Stefan Monnier
2004-09-23 16:41 Ryan Bowman
2004-09-23 18:05 ` Greg Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fyeacout.fsf@hans.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=C.Strobl@dlr.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rutt.4@osu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.