Created
March 19, 2012 14:57
-
-
Save emgiezet/2115262 to your computer and use it in GitHub Desktop.
Finding variables in the twig templates inside the { trans } blocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ack-grep '({ trans }+(.*)?)+{{ (.*) }}+((.*)?{ endtrans })' --type-set twig=.twig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment