What kind of a girl who doesn't like being told she's attractive (by a potential suitor)? The kind of girl who wants to be loved for her mind. This girl has probably had every Tom, Dick and Harry telling her that she's pretty and wants to get to know her. It's old and it's boring and she wants to be valued for something other than her looks.
To try and explain: It's not about her not wanting to be told that she's attractive....it's about you being primarily attracted to her personality. If you've got a girlfriend, by all means tell her that she looks lovely....but don't start out that way.
When pursing a girl who doesn't want to be objectified, try: "I enjoy your Facebook posts about X issue. I'd really like the opportunity to get to know you better" or "you had some interesting views in X class, I'd like to get to know you better". You'll have a much better chance than telling her that she's cute and want to get to know her better.
Compliment her mind, not her body.
Never regret anything that has happened in your life. It cannot be changed, forgotten or undone. So, take it as a lesson learned and move on.