Closed jakobrosenberg closed 2 years ago
Maybe I'm missing something, but this /\r?n/ seems simpler than /[\r]{0,1}\n/.
/\r?n/
/[\r]{0,1}\n/
yes, your suggestion is a more succinct way to define the same regex expression. Given this is a code styling question rather than an issue, I'll close it.
Maybe I'm missing something, but this
/\r?n/
seems simpler than/[\r]{0,1}\n/
.