Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Izkata
on March 20, 2024
|
parent
|
context
|
favorite
| on:
Regex character "$" doesn't mean "end-of-string"
It's actually slightly worse: Windows defines newline as a delimiter, not a terminator. So this:
foo\nbar\n
Would be 2 lines in *nix and 3 lines in windows.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: