all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomer <tomer1levin@walla.co.il>
To: help-gnu-emacs@gnu.org
Subject: Re: regular expression for hiding comment
Date: Thu, 7 May 2009 09:21:11 -0700 (PDT)	[thread overview]
Message-ID: <64794e53-f55b-4c77-976c-e08abd426249@e23g2000vbe.googlegroups.com> (raw)
In-Reply-To: 7c7i0s521t.fsf@pbourguignon.anevia.com

On May 7, 7:07 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> tomer <tomer1le...@walla.co.il> writes:
> > Thanks for the reply,
> > sorry for the unclear question.
> > I need a regexp which show all line execpt lines which include the
> > string "--" (the qoute is not part of the sign).
>
> Ah, this is clearer.  
>
> Notice that regexp don't 'show' anything, they 'match' input.  It's
> the program that use the regexp that may decide to show or hide lines
> depending on whether a regexp match them.
>
> Here is such a regexp matching any line but those containing "--":
>
>            ^\([^-]\|-[^-]\)*\(\|-\)$
>
> --
> __Pascal Bourguignon__

Thanks for the help
I have use hide-lines , i also will try the regexp which is better
choice
Thanks a  a lot


  reply	other threads:[~2009-05-07 16:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07  6:44 regular expression for hiding comment tomer
2009-05-07  8:20 ` Peter Dyballa
     [not found] ` <mailman.6787.1241684779.31690.help-gnu-emacs@gnu.org>
2009-05-07  8:54   ` tomer
2009-05-07 12:07     ` Pascal J. Bourguignon
2009-05-07 13:31       ` tomer
2009-05-07 14:19         ` Anselm Helbig
2009-05-07 14:32         ` Drew Adams
2009-05-07 16:07         ` Pascal J. Bourguignon
2009-05-07 16:21           ` tomer [this message]
2009-05-07 19:12     ` Peter Dyballa

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=64794e53-f55b-4c77-976c-e08abd426249@e23g2000vbe.googlegroups.com \
    --to=tomer1levin@walla.co.il \
    --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.