Skip to content

Conversation

@hadl
Copy link
Contributor

@hadl hadl commented Jan 15, 2023

Closes: #1471

Summary of changes:
Updated findPartials regex to match twig include function syntax.

https://regexr.com/769fq

In addition the logic from engine-twig-php for findPartials and findPartial was merged to fit the new regex and locating the patterns correctly.

@JosefBredereck JosefBredereck merged commit cfa792b into pattern-lab:dev Jan 30, 2023
@hadl hadl deleted the feature/1471-twing-include-function-regex branch February 26, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

engine-twig-php: include-function syntax not matched by findPartials

2 participants