You are here

public function Scanner::getHex in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\Scanner::getHex()

Get the next group of that contains hex characters.

Note, along with getting the characters the pointer in the data will be moved as well.

Return value

string The next group that is hex characters.

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 119

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function getHex() {
  return $this->is
    ->charsWhile(static::CHARS_HEX);
}