String.Extra.rightOf
does not return anything past line breaks.
#65
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
String.Extra.rightOf
does not return anything past line breaks. Is this the expected behavior? It confused me at least.To Reproduce
Steps to reproduce the behavior:
Check out this Ellie:
https://ellie-app.com/s5R3HsrPbhJa1
Code block for posterity:
Expected behavior
I expect
rightOf
to return everything after the match, regardless of line breaks.Additional context
The siblings of
rightOf
probably have the same issue.I think this behavior could be inherited from the underlying regex package with the use of $ which matches on line end. I have not checked if this is the case though.
The text was updated successfully, but these errors were encountered: