ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Unescaper encapsulates unescaping rules for single and double-quoted YAML strings. More...
Public Member Functions | |
unescapeSingleQuotedString ($value) | |
Unescapes a single quoted string. More... | |
unescapeDoubleQuotedString ($value) | |
Unescapes a double quoted string. More... | |
Data Fields | |
const | REGEX_ESCAPED_CHARACTER = '\\\\(x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|.)' |
Regex fragment that matches an escaped character in a double quoted string. More... | |
Private Member Functions | |
unescapeCharacter ($value) | |
Unescapes a character that was found in a double-quoted string. More... | |
Static Private Member Functions | |
static | utf8chr ($c) |
Get the UTF-8 character for the given code point. More... | |
Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
Definition at line 24 of file Unescaper.php.
|
private |
Unescapes a character that was found in a double-quoted string.
string | $value | An escaped character |
Definition at line 67 of file Unescaper.php.
Referenced by Symfony\Component\Yaml\Unescaper\unescapeDoubleQuotedString().
Symfony\Component\Yaml\Unescaper::unescapeDoubleQuotedString | ( | $value | ) |
Unescapes a double quoted string.
string | $value | A double quoted string |
Definition at line 50 of file Unescaper.php.
References Symfony\Component\Yaml\Unescaper\unescapeCharacter().
Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString | ( | $value | ) |
Unescapes a single quoted string.
string | $value | A single quoted string |
Definition at line 38 of file Unescaper.php.
|
staticprivate |
Get the UTF-8 character for the given code point.
int | $c | The unicode code point |
Definition at line 128 of file Unescaper.php.
References $c.
const Symfony\Component\Yaml\Unescaper::REGEX_ESCAPED_CHARACTER = '\\\\(x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|.)' |
Regex fragment that matches an escaped character in a double quoted string.
Definition at line 29 of file Unescaper.php.