You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your interest!
Unfortunately, this isn't possible with the current design.
The input text is split by whitespace characters (including newlines) immediately after reading, and the Source trait only provides these split tokens. We cannot restore the original line.
Simply modifying the Source trait definition would be a breaking change. I'll continue to think about ways to support this functionality.
How about supporting a
marker::Line
to read a whole line of the input (including the whitespaces) as a string?For example I came across a needle in haystack problem where the input was given as:
It would be really nice to have something like:
The text was updated successfully, but these errors were encountered: