This content has been marked as final. Show 3 replies
Do you have smart quotes turned on (under File > File Options… > Text)?
I did have Smart Quotes turned on, and now it works correctly with Smart Quotes off. So is that a bug or a feature?
It's not a bug. When smart quotes are on, and you enter "doesn't work" into a field, the typed apostrophe (Char 39) is converted into a single comma quotation mark (Char 8217). Therefore, PatternCount ( field ; <apostrophe> ) returns 0, etc.