mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
4a7c8b3b676aa2525ee7ed9cfd24972b128f67b7
This PR was merged into the 3.x branch. Discussion ---------- throwing syntax error when the matches regexp is not valid During the symfony live, Fabien talk about a PR he did on the Expression Language component (https://github.com/symfony/symfony/pull/45875/files). The goal was to throw a more readable error when using the matchs operator. This think need to be fix in twig to. So as promises, here is my PR ! This is my first contrib to symfony so any advice is welcome ! 😁 Commits -------a82e94d9Add some tests61672c43throwing syntaxt error when the matches regexp is not valid
…
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://blackfire.io/docs/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%