This defines how the last word in the input string is found. word-class takes any irregex expression.