Skip to content

Commit 25825fe

Browse files
committed
Testing regex updates meant for composer.json-based consumption. Not nearly as easy as copying over from the config.yml file...
1 parent 4490358 commit 25825fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-_]+)[\"\\']([ \/._\\-.@#A-Za-z0-9-&}_\n{\":',\/. [\\]]+)%}",
3434
"lineageMatchKey": 3,
3535
"patternExtension": "twig",
3636
"twigDebug": false,

0 commit comments

Comments
 (0)