News for hackers. Stuff that matters.
Re:Regex character "$" doesn't mean "end-of-string" by nomel on Friday March 22, 2024 @06:24PM (#39795489)
Yes, "EOF seems same as end-of-string."
Re:Regex character "$" doesn't mean "end-of-string" by pepa65 on Friday March 29, 2024 @02:58AM (#39861359)
No, getline() will stop reading at the newline, even if more (non-NUL) characters follow. EOF is end-of-file.