<?php preg_match('#^([a-z\\d_]+)\\.(twig)$#', 'foo.twig', $m); var_dump($m);
You have javascript disabled. You will not be able to edit any code.