Test, validate and match regular expressions
Parses sender lines in the common 'Display Name <user@domain.com>' email header format, capturing the name in group 1 and the email address (word chars, @, dots) in group 2. Intended for extracting names and addresses from Gmail From/To headers. Caveat: the first class [^w]+ excludes the literal letter 'w' (likely a typo for \w or \W), so names containing 'w' won't match correctly.