Fabien Potencier 4a7c8b3b67 minor #3687 throwing syntax error when the matches regexp is not valid (WebMamba, fabpot)
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
-------

a82e94d9 Add some tests
61672c43 throwing syntaxt error when the matches regexp is not valid
2022-12-27 12:34:09 +01:00
2022-12-26 17:29:12 +01:00
2022-12-15 11:46:42 +01:00
2022-12-26 16:12:53 +01:00
2022-12-27 12:31:54 +01:00
2022-12-27 12:31:54 +01:00
2022-09-16 12:46:43 +02:00
2022-09-28 10:43:58 +02:00

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
Languages
PHP 99.9%