private static function Inline::getHexRegex in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Inline.php \Symfony\Component\Yaml\Inline::getHexRegex()
Gets a regex that matches a YAML number in hexadecimal notation.
Return value
string
2 calls to Inline::getHexRegex()
- Inline::dump in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Inline.php - Dumps a given PHP variable to a YAML string.
- Inline::evaluateScalar in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Inline.php - Evaluates scalars and replaces magic values.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Inline.php, line 542
Class
- Inline
- Inline implements a YAML parser/dumper for the YAML inline syntax.
Namespace
Symfony\Component\YamlCode
private static function getHexRegex() {
return '~^0x[0-9a-f]++$~i';
}