Skip to content

Commit

Permalink
Merge pull request #1 from drupal-pattern-lab/feature/fix-and-extend-…
Browse files Browse the repository at this point in the history
…twig-regex

Fix Pattern Lab Twig Lineages When Using D8-friendly Twig Paths (Part 1 of 2)
  • Loading branch information
EvanLovely authored May 9, 2017
2 parents 4490358 + e132ead commit a2657fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"extra": {
"patternlab": {
"config": {
"lineageMatch": "{%([ ]+)?include( |\\()["\\']([A-Za-z0-9-_]+)["\\'](\\))?(.*)%}",
"lineageMatch": "{%([ ]+)?(?:include|extends|embed)( |\\()["\\']([\\/.@A-Za-z0-9-_]+)["\\']([\\s\\S+]*?)%}",
"lineageMatchKey": 3,
"patternExtension": "twig",
"twigDebug": false,
Expand Down

0 comments on commit a2657fa

Please sign in to comment.