[LH4291] Find does not find words with apostrophes.

ag
agmcphee
Posts: 3
Joined: Tue Jul 31, 2018 3:52 pm
Platform: Windows

Thu Jan 16, 2020 4:57 pm Post

If I remove the apostrophe from a word, "Find" locates it, With the apostrophe left it, it fails.

User avatar
tiho_d
Posts: 1239
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Thu Jan 16, 2020 11:59 pm Post

Try searching with RegEx if you are using smart quotes.

rb
rbrucecom
Posts: 2
Joined: Mon Jan 13, 2020 3:10 am
Platform: Windows

Mon Jan 20, 2020 5:56 am Post

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.

User avatar
jje
Posts: 354
Joined: Sun Jul 06, 2014 5:57 pm
Platform: Windows
Location: Sussex, UK

Mon Jan 20, 2020 10:13 am Post

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.

No
Northern_light
Posts: 9
Joined: Tue Jan 09, 2018 11:01 pm
Platform: Windows

Mon Jan 20, 2020 11:58 am Post

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.

User avatar
Jestar
Posts: 339
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Mac + Windows

Tue Jan 28, 2020 5:13 am Post

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.
Win 10 Ent. 64-Bit 2004
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
Samsung SSD 860 EVO 500GB
NVIDIA Quadro K600
Scrivener Version: Version: 1.9.16.0 - 14 Nov 2019 & Version: 2.9.9.9 Beta (1017011) 64-bit - 14 Aug 2020

User avatar
Jestar
Posts: 339
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Mac + Windows

Tue Jan 28, 2020 5:14 am Post

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.
Win 10 Ent. 64-Bit 2004
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
Samsung SSD 860 EVO 500GB
NVIDIA Quadro K600
Scrivener Version: Version: 1.9.16.0 - 14 Nov 2019 & Version: 2.9.9.9 Beta (1017011) 64-bit - 14 Aug 2020

User avatar
MimeticMouton
Posts: 8876
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain
Contact:

Thu Jan 30, 2020 1:07 am Post

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).
Jennifer Hughes
(MM for short)