Bug: rightOf/leftOf does not work with trailing newline after/before the pattern
ad-si opened this issue · comments
Adrian Sieber commented
String.Extra.rightOf "_" "abc_\ndef"
should return "\ndef"
, but returns ""
Here is an example on Ellie:
Adrian Sieber commented
Same for leftOf
:
String.Extra.leftOf "_" "abc\n_def"
returns ""