Documentation: rev-list-options: Fix -g paragraph formatting
[gitweb.git] / git-send-email.perl
index 0b04ba32f0399d338be587ac2d9ad4620705c9a1..385ff7c2197f02207bfa56e2a9b6ec557fbfe0cc 100755 (executable)
@@ -850,7 +850,7 @@ sub send_message
                                }
                                elsif (/^Content-type:/i) {
                                        $has_content_type = 1;
-                                       if (/charset="?[^ "]+/) {
+                                       if (/charset="?([^ "]+)/) {
                                                $body_encoding = $1;
                                        }
                                        push @xh, $_;