Steps to reproduce:
Result:
The pattern cannot be removed and error is displayed: Expected: Pattern removed, no error.