TLDR Web Dev · QUICK LINKS

WHY DO REGEXES USE `$` AND `^` AS LINE ANCHORS?

buttondown.email2 min read

Summary from the TLDR Web Dev newsletter

The use of $ and ^ as line anchors in regular expressions can be traced back to design choices made for the QED text editor, likely influenced by the limited character set of the Teletype Model 35 input device.