Hacker News new | ask | show | jobs
by ryao 359 days ago
Was he unaware of regex.h?

https://www.man7.org/linux/man-pages/man3/regcomp.3p.html

1 comments

Doing regex in C back in the day was not very common and far from idiomatic, unlike perl where its basically expected that you cram regexes in anywhere you can.