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 137605e commit d8711f6Copy full SHA for d8711f6
src/StringExpressionLanguageProvider.php
@@ -24,6 +24,7 @@ public function getFunctions(): array
24
ExpressionFunction::fromPhp('strip_tags', 'stripHtml'),
25
ExpressionFunction::fromPhp('json_decode', 'decode'),
26
ExpressionFunction::fromPhp('preg_replace', 'replaceByExpression'),
27
+ ExpressionFunction::fromPhp('preg_match', 'matchExpression'),
28
new CapitalizeWords('capitalizeWords'),
29
ExpressionFunction::fromPhp('rtrim', 'removeWhitespaces'),
30
ExpressionFunction::fromPhp('explode', 'splitIntoArray'),
0 commit comments