This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygcheck and literal plus sign
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 22 Jan 2014 00:58:30 -0500
- Subject: Re: cygcheck and literal plus sign
- Authentication-results: sourceware.org; auth=none
- References: <CAAXzdLUjc=cYva6EfZQjRArt5NQbPG3VTTGEch=kN1GEx2-fjA at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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