used regex_static in Jid
Better not to use regex_static
, since it hasn't been updated in a couple of years and depends on older crates. It should be pretty easy to implement this manually via lazy_static