Skip to content

Instantly share code, notes, and snippets.

@emgiezet
Created March 19, 2012 14:57
Show Gist options
  • Save emgiezet/2115262 to your computer and use it in GitHub Desktop.
Save emgiezet/2115262 to your computer and use it in GitHub Desktop.
Finding variables in the twig templates inside the { trans } blocks
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