acceptLanguage method
Advances and returns true if current subtag is a language subtag.
Implementation
bool acceptLanguage() {
if (atEnd()) return false;
if (!_languageRegExp.hasMatch(_current)) return false;
advance();
return true;
}
Advances and returns true if current subtag is a language subtag.
bool acceptLanguage() {
if (atEnd()) return false;
if (!_languageRegExp.hasMatch(_current)) return false;
advance();
return true;
}