Why do regexes use `$` and `^` as line anchors?

https://buttondown.email/hillelwayne/archive/why-do-regexes-use-and-as-line-anchors/

35 points · 3 comments · view on lemmy.world

3 Comments

SpaceNoodle@lemmy.world · 12 pts · 2y

tl;dr "I dunno, maybe they just used those keys"

NostraDavid@programming.dev · 3 pts · 2y

Why not ask Ken himself?

SubArcticTundra@lemmy.ml · 1 pts · 2y

Fair enough