unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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 06:31:12 -0700 (PDT)	[thread overview]
Message-ID: <d60d4b40-55ab-4b43-87bd-14d97daa024c@s16g2000vbp.googlegroups.com> (raw)
In-Reply-To: 7cocu53ylo.fsf@pbourguignon.anevia.com

On May 7, 3:07 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> tomer <tomer1le...@walla.co.il> writes:
> > On May 7, 11:20 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> >> Am 07.05.2009 um 08:44 schrieb tomer:
>
> >> > Is it possible ?
>
> >> Yes. ^.*[^-][^-].*$
>
> >> --
> >> Greetings
>
> >>    Pete
>
> >> Who the fsck is "General Failure," and why is he reading my disk?
>
> > I think it is not working
>
> The problem is that you didn't say what you wanted to do.  
> With computers, anything is possible, if you have infinite memory and
> infinite time.
>
> Now you're saying that it is not working.  But you don't tell us what
> is not working, what you did, what you expected and what you got?
> Do people have telepathic powers in your country?
>
> Of your original post:
>
> > i use a language which mark comment with "--".
> > is want to all lines in all buffer ( grep-buffer regular expression)
> > that are not comment.
> > Is it possible ?
> > Thanks
> > Tomer
>
> Only the sentence "Is it possible?" is gramatically correct, and can
> be parsed to something meaningful, if lacking a context.
>
> --
> __Pascal Bourguignon__- Hide quoted text -
>
> - Show quoted text -

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).
Thanks for the help.


  reply	other threads:[~2009-05-07 13:31 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=d60d4b40-55ab-4b43-87bd-14d97daa024c@s16g2000vbp.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).