added support for {{ some_string[:2] }} (closes #952)
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 8 Jan 2013 14:19:16 +0000 (15:19 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 8 Jan 2013 14:19:19 +0000 (15:19 +0100)
commitd10ebfa3d4c16621732ebd8bcf65cd4cfdcefa26
tree6ceaee4865ca79738cbeb49d92a8125ac142f3fc
parentad31e1765a1804e058e6679d4e3df46bfb775ad3
added support for {{ some_string[:2] }} (closes #952)
CHANGELOG
doc/filters/slice.rst
lib/Twig/ExpressionParser.php
test/Twig/Tests/Fixtures/filters/slice.test