all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastien LE MAGUER <Sebastien.Le_maguer@irisa.fr>
To: help-gnu-emacs@gnu.org
Subject: extract lines with regexp
Date: Thu, 30 Apr 2009 10:09:25 +0200	[thread overview]
Message-ID: <49F95CB5.10100@irisa.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

Hi,

I wonder how to extract lines using a regexp. My file contains something 
like that :

<useless lines>
<line X>
theq() :
<useless lines>

and I want to extract all lines before theq (here line X)

does anyone have an idea ?

Thanks

Sebastien

[-- Attachment #2: Sebastien_Le_maguer.vcf --]
[-- Type: text/x-vcard, Size: 364 bytes --]

begin:vcard
fn;quoted-printable:S=C3=A9bastien Le Maguer
n;quoted-printable:Le Maguer;S=C3=A9bastien
org:;Equipe CORDIAL
adr:ENSSAT - 6 rue de Kerampont, BP 80518 ;;Bureau 203-I;Lannion Cedex;;22305 ;France
email;internet:Sebastien.Le_Maguer@irisa.fr
title:Doctorant
tel;work:02 96 46 91 29
url:http://www.irisa.fr/cordial/Members/slemague/
version:2.1
end:vcard


             reply	other threads:[~2009-04-30  8:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30  8:09 Sebastien LE MAGUER [this message]
     [not found] <mailman.6302.1241079206.31690.help-gnu-emacs@gnu.org>
2009-04-30 18:57 ` extract lines with regexp Xah Lee
2009-05-01 12:02   ` Sebastien Le Maguer
2009-05-01 16:38     ` Peter Dyballa
2009-05-01 15:54   ` Ted Zlatanov
2009-05-01 21:53     ` Sebastien Le Maguer
2009-05-04 17:44     ` Raymond Wiker
2009-05-06 11:37       ` no-toppost
2009-05-06 13:33         ` Pascal J. Bourguignon

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=49F95CB5.10100@irisa.fr \
    --to=sebastien.le_maguer@irisa.fr \
    --cc=help-gnu-emacs@gnu.org \
    /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.