elm-community / elm-community/string-extra

Bug: rightOf/leftOf does not work with trailing newline after/before the pattern

Open
#56 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
36
Forks
27
PR merge metrics
No merged PRs in 30d

Description

`String.Extra.rightOf "_" "abc_\ndef"` should return `"\ndef"`, but returns `""`

Here is an example on Ellie:

https://ellie-app.com/kr7KLBVx8xQa1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.