I'm really impressed with flycheck. The code is very clean and has perhaps the most readable regexps I've ever seen: https://github.com/flycheck/flycheck/blob/490fe88579b20d55f295ff6b7b8aad567c77087d/flycheck.el#L3549