Fabien Potencier 606f88b1bc feature #1209 added the starts with, ends with, and matches operators (fabpot)
This PR was merged into the master branch.

Discussion
----------

added the starts with, ends with, and matches operators

Adds three new operators:

 * `ends with`
 * `starts with`
 * `matches`

I've not added the `contains` operator as it would be equivalent with the existing `in` one.

TODO:

 * [x] add docs
 * [x] fix on PHP 5.2.

Commits
-------

b66181d added the starts with, ends with, and matches operators
2013-10-02 21:38:09 +02:00
2012-11-18 21:42:00 +01:00
2013-07-23 17:39:54 +02:00
2013-08-03 17:50:09 +02:00
2013-01-04 17:54:54 +01:00
2013-09-28 08:26:47 +02:00

Twig, the flexible, fast, and secure template language for PHP

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

More Information

Read the documentation for more information.

Languages
PHP 99.9%