acceptTExtensionKey method

bool acceptTExtensionKey()

Advances and returns true if current subtag is a valid T Extension key (tkey in the specification).

Implementation

bool acceptTExtensionKey() {
  if (atEnd()) return false;
  if (!_tExtensionKeyRegExp.hasMatch(_current)) return false;
  advance();
  return true;
}