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