Build, test, and debug regular expressions
Matches Twig template translation blocks delimited by {% trans %} and {% endtrans %} tags, capturing the translatable content in between via a lazy group that stops at the first closing tag. The content must be surrounded by at least one whitespace character on each side. With case-insensitive matching, it tolerates tag variants like TRANS/Endtrans. Typically used to extract hardcoded strings from Symfony/Twig templates for localization, i18n auditing, or migration to translation catalogs.