If you want to end check whether your sentence ends with "." then you have to add [\.\]$ to the end of your pattern.
↧
If you want to end check whether your sentence ends with "." then you have to add [\.\]$ to the end of your pattern.