We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 284a304 commit a67b566Copy full SHA for a67b566
reference/formats/expression_language.rst
@@ -20,8 +20,8 @@ The component supports:
20
21
.. caution::
22
23
- A backslash (``\``) must be escaped by 4 backslashes (``\\\\``) in a string
24
- and 8 backslashes (``\\\\\\\\``) in a regex::
+ A backslash (``\``) must be escaped by 3 backslashes (``\\\\``) in a string
+ and 7 backslashes (``\\\\\\\\``) in a regex::
25
26
echo $expressionLanguage->evaluate('"\\\\"'); // prints \
27
$expressionLanguage->evaluate('"a\\\\b" matches "/^a\\\\\\\\b$/"'); // returns true
0 commit comments