I added in some special logic for strings so that contain('', '') is still true and contain('', ['', '']) is true with any combo of flags as long as options.once is false. The latter is a change to the current behavior (contain('', ['', '']) is currently false), but I believe the current behavior there is also a bug.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
This fixes #323.
I added in some special logic for strings so that
contain('', '')
is still true andcontain('', ['', ''])
is true with any combo of flags as long asoptions.once
is false. The latter is a change to the current behavior (contain('', ['', ''])
is currently false), but I believe the current behavior there is also a bug.