As described at issue #37, here I parameterized literal allowing it to receive extra characters to stop and making glob use this when called from repetition and alternative.
For peace of mind, I created some integration tests including all these cases.
Also, I experimented with turning the closing characters "]})>" also optionally escapable, but this would make some typing errors more difficult to find.
As described at issue #37, here I parameterized
literal
allowing it to receive extra characters to stop and makingglob
use this when called fromrepetition
andalternative
.For peace of mind, I created some integration tests including all these cases.
Also, I experimented with turning the closing characters "]})>" also optionally escapable, but this would make some typing errors more difficult to find.