src/English/tokens/en_Tokenizer.cpp
// Matches "n't" from the index one before the apostrophe

Matches "n't" from the index one before the apostrophe
Matches " n ' t " from the index one before the apostrophe
bool EnglishTokenizer::matchNegativeContraction(const LocatedString *string, int index) const {
	return ((index + 2) < string->length()) &&
		   (towlower(string->charAt(index)) == L'n') &&
		   (string->charAt(index + 1) == L'\'') &&
		   (towlower(string->charAt(index + 2)) == L't') &&
		   ((index + 3 >= string->length()) || (!iswalpha(string->charAt(index + 3))));
}
bool EnglishTokenizer :: matchNegativeContraction ( const LocatedString * string , int index ) const { return ( ( index + 2 ) < string -> length ( ) ) && ( towlower ( string -> charAt ( index ) ) == L' ' ) && ( string -> charAt ( index + 1 ) == L' \' ' ) && ( towlower ( string -> charAt ( index + 2 ) ) == L' ' ) && ( ( index + 3 >= string -> length ( ) ) || ( ! iswalpha ( string -> charAt ( index + 3 ) ) ) ) ; }
Matches "n't" from the index one before the apostrophe
Matches " n ' t " from the index one before the apostrophe
// Could be "n't" or "N'T", etc:
 // The *entire* contraction must be "n't":
