Skip to content

Allow repetition character to be ignored

Compare
Choose a tag to compare
@senaranya senaranya released this 18 Jan 06:21
· 29 commits to master since this release
1518206

In release 2.0.3, repetition character behavior was corrected - it now generates sub-arrays from repeating segments by default.

While this is the correct behavior, it led to some existing code/tests to fail. As a temporary workaround, a 6th argument is added in new Message() call, that creates a single array as opposed to sub-arrays, retaining previous behavior.

Since this is a non-default behavior, it may be removed in future.

Refer to readme for an example.