with this code snippet I am trying to ensure that a textfield does not end with any of the letters outline in the $scope.pointPattern
$scope.pointPattern = /^(?!.*ess|ence|sports|riding?$)/;
$scope.error = "not valid";
on running the code, only when the field ends with ess that the error is shown but other letters are never blacklisted
e.g
football ess > shows error not valid
footbal ence > does not show error and likewise on sports and riding
what am I doing wrong