I know this one from experience!
I forgot that I had a corkscrew in a bag and they had to check it. I was told that if it was just a corkscrew, then it would be fine, but because it had a small knife attached, it wasn't. I didn't even realize that there was a small knife on it.
If you bring one, though, I would suggest it be a cheap one just in case.