I want a regular expression pattern that will match with the end of a string.
I\'m implementing a stemming algorithm that will remove suffixes of a word.
E.g. for
Use $:
$
Pattern p = Pattern.compile("s$");