* return whether we removed a pattern or not.