delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/22/00:58:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=EBR3dp1GG9v9wM7inNhFiz3ZiZg4d+JGte11Pxz/NAZduQ9x4OcXY
rQ1sdrdBrzksgZ+LIoKL95VQFQeI+a+AT2wKVjj67ZsPT4vW019TF63VzUg8uhTQ
B2tRaKe5jdObPFit1NOCxpSP5Wl0OFa4vOGdypmZuAh0QTuJB96R+U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=nJXVEZtB09U4sudV+ToWXvfTKaM=; b=pyd9PhwxC3vaj58rTDTxIi32wJ73
6qHK0fcxlFOjjUo8JZ47d/IiYxnY1PGREWjO8o4N8khZNfVyMmErAF83r040q8f2
XobsTY+NXpBqRvw617KzWiMYq4Zs26XVi2ZZNYZUA1HQIwbPjfHJwJJhVcZYaW1d
drXtKIENrNRXmdA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT 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 00:58:30 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygcheck and literal plus sign
Message-ID: <20140122055830.GB4286@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAAXzdLUjc=cYva6EfZQjRArt5NQbPG3VTTGEch=kN1GEx2-fjA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAAXzdLUjc=cYva6EfZQjRArt5NQbPG3VTTGEch=kN1GEx2-fjA@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019