Skip to content

Commit b8dc262

Browse files
sghoweriEvanLovely
authored andcommitted
Fixing lineage config line
Mega PR: Merging Drupal Pattern Lab's Twig Pattern Engine Fork Back Into the Main Pattern Lab PHP Twig Pattern Engine Repo (#44) * updating dev-dev dependencies * fixing failing constraint * Testing regex updates meant for composer.json-based consumption. Not nearly as easy as copying over from the config.yml file... * Adding original for testing comparison * Testing updated and simplified regex which also fixes lineages when using D8 friendly Twig paths * Updating registered namespace to Drupal Pattern Lab * Revert "Updating registered namespace to Drupal Pattern Lab" This reverts commit ba07a6e. * updating info
1 parent 65324c7 commit b8dc262

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
}
1515
],
1616
"support": {
17-
"issues": "https://github.com/pattern-lab/patternengine-php-twig/issues",
17+
"issues": "https://github.com/drupal-pattern-lab/patternengine-php-twig/issues",
1818
"wiki": "http://patternlab.io/docs/",
19-
"source": "https://github.com/pattern-lab/patternengine-php-twig/releases"
19+
"source": "https://github.com/drupal-pattern-lab/patternengine-php-twig/releases"
2020
},
2121
"autoload": {
2222
"psr-0": {
@@ -30,7 +30,7 @@
3030
"extra": {
3131
"patternlab": {
3232
"config": {
33-
"lineageMatch": "{%([ ]+)?include( |\\()["\\']([A-Za-z0-9-_]+)["\\'](\\))?(.*)%}",
33+
"lineageMatch": "{%([ ]+)?(?:include|extends|embed)( |\\()["\\']([\\/.@A-Za-z0-9-_]+)["\\']([\\s\\S+]*?)%}",
3434
"lineageMatchKey": 3,
3535
"patternExtension": "twig",
3636
"twigDebug": false,

0 commit comments

Comments
 (0)