We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f992fc commit da4d77cCopy full SHA for da4d77c
1 file changed
src/Parser.php
@@ -2430,14 +2430,17 @@ protected function placeholder(&$placeholder)
2430
{
2431
if ($this->match(
2432
$this->utf8
2433
- ? '([\pL\w\-_]+|#[{][$][\pL\w\-_]+[}])'
2434
- : '([\w\-_]+|#[{][$][\w\-_]+[}])',
+ ? '([\pL\w\-_]+)'
+ : '([\w\-_]+)',
2435
$m
2436
)) {
2437
$placeholder = $m[1];
2438
2439
return true;
2440
}
2441
+ if ($this->interpolation($placeholder)) {
2442
+ return true;
2443
+ }
2444
2445
return false;
2446
0 commit comments