class I18n::Locale::Tag::Rfc4646

def tag(tag)

Returns false if the given tag is not valid according to RFC 4646.
Parses the given tag and returns a Tag instance if it is valid.
def tag(tag)
  matches = parser.match(tag)
  new(*matches) if matches
end