Yeah, the nail bed can be pretty wild. It contains stem cells that can actually regrow part of your finger if it doesn't also get cut off.
What's fun is that the piece I reattached wasn't lined up perfectly, so now a portion of my fingerprint is wonky like 10 years later.