From: Ben Fritz <fritzophre...@gmail.com>
Date: Thu, 5 Apr 2012 08:30:00 -0700 (PDT)
Subject: Re: vimgrep
On Wednesday, April 4, 2012 1:27:21 PM UTC-5, hilal Adam wrote: I only see one post. Weird. I'm starting to really hate the Google > Ben, Thanks for your prompt response. > Somehow I am getting 3 copies of your premature, and complete replies. Groups interface. I may try subscribing to get emails and just filter them all away from my inbox. Ugh. Maybe you're getting multiple copies because you're on the CC list as > Yes. You're right \*\* was one of the approaches I used. * is not special anymore if escaped with a \. > Unfortunately * is treated as a metacharacter/special character/keyword > by grep/vimgrep/c language and this where the difficulty is originating > from. > I tried your suggestion, \*\@<!\*\*\*\@!, and I get a no pattern I don't know about using grep from the cygwin command line. The pattern > found reply while I stirring at a line that has **. > How would you do this in grep on cygwin command line? I gave uses Vim regular expressions, so you'd need to use a :vimgrep command to use it. Here's the breakdown: \*\@<! - match only where there is not a literal '*' just before These are both zero-width matches, meaning they are not part of the Someone else (Google Groups mangled the non-ascii characers in the name) You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||