- lang_matches(+Lang, +Pattern) is semidet
- True if Lang matches Pattern. This implements XML language
matching conform RFC 4647. Both Lang and Pattern are
dash-separated strings of identifiers or (for Pattern) the
wildcard *. Identifiers are matched case-insensitive and a *
matches any number of identifiers. A short pattern is the same
as *.