| commit | 5916da269c0eaaba43064fce2c233ce57691f874 | [log] [tgz] |
|---|---|---|
| author | Danny Tuppeny <danny@tuppeny.com> | Wed Oct 09 20:46:54 2024 +0100 |
| committer | GitHub <noreply@github.com> | Wed Oct 09 12:46:54 2024 -0700 |
| tree | dddf600f4fe8c5c531a1e9ed640494677448b116 | |
| parent | 0d71bece47e6a0ccfc1db28112764c38c9f5106b [diff] |
Avoid treating /r as newline on it (dart-lang/string_scanner#81) Fixes https://github.com/dart-lang/string_scanner/issues/80 This fixes an error when scanning a zero-length match when between a CR and LF. * Fix typo * comment nits * Fix some bugs when setting position if the current position is between \r\n --------- Co-authored-by: Nate Bosch <nbosch1@gmail.com>