News for hackers. Stuff that matters.
Re:Regex character "$" doesn't mean "end-of-string" by LK5ZJwMwgBbHuVI on Wednesday March 20, 2024 @01:33PM (#39769691)
Why don't you go ask?

    $ echo -n foo | wc -l
    0
Re:Regex character "$" doesn't mean "end-of-string" by wtetzner on Friday March 22, 2024 @09:57AM (#39790831)
wc just counts newline characters. I'm not sure why it would be the ultimate authority on anything.