From: Andrew Schulman <schulman.andrew@epa.gov>
To: cygwin@cygwin.com
Subject: Re: cygcheck and literal plus sign
Date: Wed, 22 Jan 2014 11:35:00 -0000 [thread overview]
Message-ID: <g4bvd9549dive5dnnh81c5frnqdlbtkku2@4ax.com> (raw)
In-Reply-To: <20140122055830.GB4286@ednor.casa.cgf.cx>
> > $ 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 '\'.
That's what he did. The single quotes protected the \'s from
interpretation by the shell, so cygcheck received the regex: g\+\+.exe
--
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
next prev parent reply other threads:[~2014-01-22 11:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 23:59 Steven Penny
2014-01-22 5:58 ` Christopher Faylor
2014-01-22 6:46 ` Marco Atzeri
2014-01-22 11:35 ` Andrew Schulman [this message]
2014-01-22 15:07 ` Christopher Faylor
2014-01-22 16:03 ` Andrew Schulman
2014-01-22 16:06 ` David Boyce
2014-01-22 16:13 ` Larry Hall (Cygwin)
2014-01-25 2:26 ` Steven Penny
2014-01-27 15:48 ` Gates, Roger
2014-01-27 18:59 ` Larry Hall (Cygwin)
2014-01-27 22:43 ` Steven Penny
2017-01-28 3:01 ` Steven Penny
2017-01-28 4:01 ` Doug Henderson
2017-01-28 12:21 ` Steven Penny
2017-01-28 17:45 ` Brian Inglis
2017-01-28 19:06 ` Eric Blake
2017-01-28 19:59 ` Brian Inglis
2017-01-30 18:30 ` Jon Turney
2017-01-31 0:00 ` Steven Penny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=g4bvd9549dive5dnnh81c5frnqdlbtkku2@4ax.com \
--to=schulman.andrew@epa.gov \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).