Fix #20: Test header values with regular expressions

See #20 for details.