added another pattern to regex for valid headers