Heart breaking is part of the growing up, which makes man mature. So don't be too hard on yourself.
Love is not one of the most complicated things, it IS the most complicated thing.
Maybe you can try to keep touch with her if she's still available, and see how it goes... Good luck