public function TokenizerEscaping::escapeUnicode in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Parser/Tokenizer/TokenizerEscaping.php \Symfony\Component\CssSelector\Parser\Tokenizer\TokenizerEscaping::escapeUnicode()
Parameters
string $value:
Return value
string
1 call to TokenizerEscaping::escapeUnicode()
- TokenizerEscaping::escapeUnicodeAndNewLine in vendor/
symfony/ css-selector/ Parser/ Tokenizer/ TokenizerEscaping.php
File
- vendor/
symfony/ css-selector/ Parser/ Tokenizer/ TokenizerEscaping.php, line 42
Class
- TokenizerEscaping
- CSS selector tokenizer escaping applier.
Namespace
Symfony\Component\CssSelector\Parser\TokenizerCode
public function escapeUnicode($value) {
$value = $this
->replaceUnicodeSequences($value);
return preg_replace($this->patterns
->getSimpleEscapePattern(), '$1', $value);
}