Skip to content

Commit

Permalink
Fixing lineage config line (#45)
Browse files Browse the repository at this point in the history
* 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

* Remove reference to Drupal Pattern Lab fork
  • Loading branch information
EvanLovely committed Oct 9, 2017
1 parent 65324c7 commit f402a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
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 f402a2f

Please sign in to comment.