Re: QRegExp Not Repeated More Than Four Times.

Originally Posted by
d_stranz
Spent a lot of time years ago writing lex and yacc code to parse specialty "little languages" (as Jon Bentley calls them), so got pretty good at crafting regular expressions.
lex, yacc, regular expressions, and many other CS concepts are a black/lost art today for sure and as foreign to some as the courses I took way back in my undergrad days. Most of my CS background was theory based, data structures, algorithms, and of course programming language based, etc. Not sure what the CS curriculum in schools are all about nowadays, but I'm sure they're rife with the web languages of the day, HTML, CSS, etc.
Often I find tortured uses for regular expressions when they're not really needed, or the opposite where a regex is a perfect solution that gets implemented in unmaintainable spaghetti code to parse stuff... The most valuable skill to have is to know when one is called for vs the other...
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks