Page 1 of 1

[LH4291] Find does not find words with apostrophes.

Posted: Thu Jan 16, 2020 4:57 pm
by agmcphee
If I remove the apostrophe from a word, "Find" locates it, With the apostrophe left it, it fails.

Re: Find does not find words with apostrophes.

Posted: Thu Jan 16, 2020 11:59 pm
by tiho_d
Try searching with RegEx if you are using smart quotes.

Re: Find does not find words with apostrophes.

Posted: Mon Jan 20, 2020 5:56 am
by rbrucecom
I have searched for the quote, smart quote, double quotes, smart left quote, smart right quote, and it doesn't matter, the search fails to find it/them.

Re: Find does not find words with apostrophes.

Posted: Mon Jan 20, 2020 10:13 am
by jje
If you choose RegEx as the search type you can use a full-stop (period) to mean "any character", so if you were looking for "Darwin's" (for example), the search string "Darwin.s" would find it, regardless of whether you used smart quotes.

Re: Find does not find words with apostrophes.

Posted: Mon Jan 20, 2020 11:58 am
by Northern_light
agmcphee wrote:If I remove the apostrophe from a word, "Find" locates it, With the apostrophe left it, it fails.


I've noticed that spell-check on words with apostrophes are not working. So a word like "wasn't" will show as a spelling error because it is only reading "wasn" and not reading the apostrophe or anything past it.

Re: Find does not find words with apostrophes.

Posted: Tue Jan 28, 2020 5:13 am
by Jestar
jje wrote:If you choose RegEx as the search type you can use a full-stop (period) to mean "any character", so if you were looking for "Darwin's" (for example), the search string "Darwin.s" would find it, regardless of whether you used smart quotes.

This works (the RegEx search). However, doing a "Whole Word" search does not pick up the apostrophe. Search begins fairly quickly and picked up my search for "isn't" by the time I had typed "isn" showing 4 different documents. However, once you put the apostrophe in, the found documents goes to zero.

Re: Find does not find words with apostrophes.

Posted: Tue Jan 28, 2020 5:14 am
by Jestar
Northern_light wrote:
agmcphee wrote:If I remove the apostrophe from a word, "Find" locates it, With the apostrophe left it, it fails.


I've noticed that spell-check on words with apostrophes are not working. So a word like "wasn't" will show as a spelling error because it is only reading "wasn" and not reading the apostrophe or anything past it.

This has been fixed in B36.

Re: Find does not find words with apostrophes.

Posted: Thu Jan 30, 2020 1:07 am
by MimeticMouton
The search issue, with non-RegEx operators failing to return results when searching with straight quotes, has been filed. Thanks! In the meanwhile, you should be able to get results by searching using a smart quote/apostrophe in the search term (assuming you are using smart quotes within the main text; if you're using straight quotes, use the RegEx search operator with a straight quote in the search term).