Open SerafimArts opened 7 years ago
Second argument of list() grammar method can be optional now. This feature adds the ability to specify duplicate fragments with a division by T_WHITESPACE (e.g "\n", "\s", etc...).
list()
T_WHITESPACE
Hi!
I appreciate the pull request. It seems correct, but we need at least one test before merging. A good place to start is https://github.com/marcioAlmada/yay/blob/master/tests/ParserTest.php
:+1:
Second argument of
list()
grammar method can be optional now. This feature adds the ability to specify duplicate fragments with a division byT_WHITESPACE
(e.g "\n", "\s", etc...).