News for hackers. Stuff that matters.
Re:Why do regexes use `$` and `^` as line anchors? by Lex-2008 on Tuesday March 26, 2024 @06:58AM (#39826331)
Not sure about $ sign, but ^ probably comes from ADM-3A: https://en.wikipedia.org/wiki/ADM-3A#Legacy

And here is a photo of its keyboard: https://twitter.com/toresbe/status/1756800589340549609/photo...

Re:Why do regexes use `$` and `^` as line anchors? by em500 on Tuesday March 26, 2024 @09:28AM (#39827565)
Per the article, these anchors appear in Ken Thompson's port of the QED text editor which dates back to 1970, years before even the ADM-1 terminal.