Hacker News new | past | comments | ask | show | jobs | submit login

As far as regexes, The Sed and Awk book is good, but Mastering Regular Expressions by Friedl is amazing. The amount of time that went into that work is mind-boggling. The deep dives into the differences between different engines and the detailed explanations of why one regex performs horribly vs. another that matches the same thing quickly are really enlightening.



I agree with both statements. I still think that Sed & Awk is the better starting reference, as it begins with basic tools.

Deep dives are fine, but sometimes you just wanto to get a few toes in the water.

I'd argue that if you've got performance issues with regexes, you're (arguably) abusing the tool.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: