Member Name Regex

Anyone have a solid regex to validate member names? I’m creating a new implementation…

https://jsonapi.org/format/1.1/#document-member-names

I’m not a regex expert, but here is what I came up with.
Note: Doesn’t include the “not recommended” characters.

/^@?[a-z0-9]+([\-\_][a-z0-9]+)*$/i