Match right single quote (’) with standalone apostrophe (')

Have a suggestion for "Everything"? Please post it here.
Post Reply
Jerry
Posts: 53
Joined: Wed May 05, 2010 8:32 pm

Match right single quote (’) with standalone apostrophe (')

Post by Jerry »

Another helpful mapping, if it's not already added in the next release, is to match right single quote (’) with single apostrophe (') and vice versa. I encounter both of these in my vast file system.
Thanks.
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Match right single quote (’) with standalone apostrophe

Post by void »

Implementing support for ignoring punctuation is on my "TODO" list.

This might not be what you want as it would ignore all punctuation.
I will consider the case for just ` and '.

For more control It might be better to use regex, for example match bill's or bill`s:

Code: Select all

regex:"bill('|`)s"
More on regex:
http://en.wikipedia.org/wiki/Regex
Jerry
Posts: 53
Joined: Wed May 05, 2010 8:32 pm

Re: Match right single quote (’) with standalone apostrophe

Post by Jerry »

void wrote:Implementing support for ignoring punctuation is on my "TODO" list.
This might not be what you want as it would ignore all punctuation.
I will consider the case for just ` and '.

With punctuation optionally ignored, will that that mean that if I enter just Bills the search will match Bill's, Bills, Bill,s and Bill.s, Bill-s, etc? Or does it mean if I enter either of the latter punctuated forms as the expression, it will match all the others?
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Match right single quote (’) with standalone apostrophe

Post by void »

With punctuation optionally ignored, will that that mean that if I enter just Bills the search will match Bill's, Bill’s, Bill,s and Bill.s, Bill-s, etc?
Yes, bills bill's bill`s bill.s would be all equal with ignore punctuation enabled.

I will consider an option so you have to specify a punctuation to match any punctuation, eg bills would not match bill's, but bill's would match bill.s or bill...s or bill`s, as this could be useful too.

Thanks for the suggestions.
Jerry
Posts: 53
Joined: Wed May 05, 2010 8:32 pm

Re: Match right single quote (’) with standalone apostrophe

Post by Jerry »

void wrote:
I will consider an option so you have to specify a punctuation to match any punctuation, eg bills would not match bill's, but bill's would match bill.s or bill...s or bill`s, as this could be useful too.
I think that makes good sense. Thanks.
Post Reply