help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regular expression for hiding comment


From: tomer
Subject: Re: regular expression for hiding comment
Date: Thu, 7 May 2009 06:31:12 -0700 (PDT)
User-agent: G2/1.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]