changed name regex to allow more characters (the same as PHP - works for blocks,...
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Aug 2011 08:07:35 +0000 (10:07 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Aug 2011 08:07:35 +0000 (10:07 +0200)
commit112a16bfde364dbc7d9455e859c9d883174b1c4d
tree80ada6d8a081d3636e63ae28b04a3cc09dc97f21
parent5233631af8cf8065bde74facc543642c4a24e1d6
changed name regex to allow more characters (the same as PHP - works for blocks, tags, functions, filters, and macros - closes #376)
CHANGELOG
lib/Twig/Lexer.php
test/Twig/Tests/Fixtures/filters/special_chars.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/functions/special_chars.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/tags/block/special_chars.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/tags/macro/special_chars.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/tags/special_chars.test [new file with mode: 0644]
test/Twig/Tests/LexerTest.php
test/Twig/Tests/integrationTest.php