This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Some documentation of this regular expression from hell, so I have | |
;; some hope of debugging it later. | |
;; | |
;; Start with the core "inner" regex: | |
;; | |
;; [\w\-]([\.\w])+[\w]+@([\w\-]+\.)+[A-Za-z]{2,4} | |
;; | |
;; This matches a "bare" email address, like bhurt@spnz.org. Then we | |
;; decorate it- we want to match the email adress even if it has a | |
;; name attached, like: "Brian Hurt" <bhurt@spnz.org> |