←back to thread

Regex Isn't Hard (2023)

(timkellogg.me)
75 points asicsp | 1 comments | | HN request time: 0.218s | source
1. alganet ◴[] No.43751378[source]
One can think of regex as very compact notation for writing text operations. It helps a lot.

The popular idea of them being write-only is obviously a joke, but it has some truth to it. On the good side, small code that needs to be rewritten is often better than large code that needs to be maintained.