Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
- Auteur
- Matthew Lewinski matth.nosp@m.ew@l.nosp@m.ewins.nosp@m.ki.o.nosp@m.rg
◆ unescapeCharacter()
unescapeCharacter |
( |
string |
$value | ) |
|
|
private |
◆ unescapeDoubleQuotedString()
unescapeDoubleQuotedString |
( |
string |
$value | ) |
|
◆ unescapeSingleQuotedString()
unescapeSingleQuotedString |
( |
string |
$value | ) |
|
Unescapes a single quoted string.
- Paramètres
-
string | $value | A single quoted string |
Références $value.
◆ utf8chr()
Get the UTF-8 character for the given code point.
Références $c.
◆ REGEX_ESCAPED_CHARACTER
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.
La documentation de cette classe a été générée à partir du fichier suivant :