acceptLowAlphaNumeric3to8 method

bool acceptLowAlphaNumeric3to8()

Advances and returns true if current subtag is alphanumeric, with length ranging from 3 to 8.

Implementation

bool acceptLowAlphaNumeric3to8() {
  if (atEnd()) return false;
  if (!_alphaNumeric1to8RegExp.hasMatch(_current) || _current.length < 3) {
    return false;
  }
  advance();
  return true;
}