From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomer Newsgroups: gmane.emacs.help Subject: Re: regular expression for hiding comment Date: Thu, 7 May 2009 06:31:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <81a6e898-481c-4b04-bc88-af95ad089e8e@j12g2000vbl.googlegroups.com> <7cocu53ylo.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1241703647 11156 80.91.229.12 (7 May 2009 13:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2009 13:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 07 15:40:37 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M23q0-0004Of-L1 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2009 15:40:36 +0200 Original-Received: from localhost ([127.0.0.1]:45191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M23pz-0003Y6-H4 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2009 09:40:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s16g2000vbp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 212.143.17.66 Original-X-Trace: posting.google.com 1241703072 17009 127.0.0.1 (7 May 2009 13:31:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 May 2009 13:31:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s16g2000vbp.googlegroups.com; posting-host=212.143.17.66; posting-account=NuEtcAoAAADUxiHpeF0Pumy7gc4ekCfm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR={5B3B1BCD-ECFF-4c68-864B-DCAF4127277B}),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:168955 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64223 Archived-At: On May 7, 3:07=A0pm, p...@informatimago.com (Pascal J. Bourguignon) wrote: > tomer writes: > > On May 7, 11:20=A0am, Peter Dyballa wrote: > >> Am 07.05.2009 um 08:44 schrieb tomer: > > >> > Is it possible ? > > >> Yes. ^.*[^-][^-].*$ > > >> -- > >> Greetings > > >> =A0 =A0Pete > > >> 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. =A0 > With computers, anything is possible, if you have infinite memory and > infinite time. > > Now you're saying that it is not working. =A0But 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.