Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added twig extension for function 'preg_split' #2590

Open
wants to merge 3 commits into
base: develop
from

Conversation

@thexmanxyz
Copy link
Contributor

thexmanxyz commented Jan 8, 2020

As already described in #2586 I now added the functionality to support preg_split($pattern, $subject, $limit = -1) within Twig. I think there is nothing more to say about this PR. Will now also update the corresponding documentation.

@thexmanxyz

This comment has been minimized.

Copy link
Contributor Author

thexmanxyz commented Jan 8, 2020

@mahagr Please review for merge, thanks!

@thexmanxyz

This comment has been minimized.

Copy link
Contributor Author

thexmanxyz commented Jan 8, 2020

Added code documentation for preg_match() and preg_split() as well as moved both functions into the Grav check because I added both methods to the Grav code base as well (getgrav/grav#2788).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.