From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18191 invoked by alias); 22 Jan 2014 05:58:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 18173 invoked by uid 89); 22 Jan 2014 05:58:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mho-01-ewr.mailhop.org Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Jan 2014 05:58:36 +0000 Received: from pool-108-49-99-58.bstnma.fios.verizon.net ([108.49.99.58] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1W5qpe-0002zJ-7R for cygwin@cygwin.com; Wed, 22 Jan 2014 05:58:34 +0000 Received: from ednor (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with SMTP id 6C1C5600EA for ; Wed, 22 Jan 2014 00:58:30 -0500 (EST) Received: by ednor (sSMTP sendmail emulation); Wed, 22 Jan 2014 00:58:30 -0500 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1932FCOrPC3IT5dWTME+Ri8 Date: Wed, 22 Jan 2014 05:58:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: cygcheck and literal plus sign Message-ID: <20140122055830.GB4286@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2014-01/txt/msg00294.txt.bz2 On Tue, Jan 21, 2014 at 05:59:16PM -0600, Steven Penny wrote: >Searching for the popular compiler produces unexpected results > > $ cygcheck -p 'g++.exe' > Found 0 matches for g .exe > > $ cygcheck -p 'g\+\+.exe' > Found 0 matches for g\ \ .exe > >How can I include a literal '+' (plus character) in my search? By remembering that this is a regex search. How do you quote special characters in regexes? Answer: With a '\'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple