cygcheck and literal plus sign

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Jan 22 05:58:00 GMT 2014


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



More information about the Cygwin mailing list