diff options
author | Eric Wong <e@80x24.org> | 2016-09-09 00:01:26 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-09-09 00:02:19 +0000 |
commit | 6ca633a1360a0974a8ebb117554a856022d797c6 (patch) | |
tree | ce46b77f08b93408299c1628060ba14aaf17b33a | |
parent | 21ab8f3cc530d9483091f32c0865ba1ce867cef8 (diff) | |
download | public-inbox-6ca633a1360a0974a8ebb117554a856022d797c6.tar.gz |
This is stricter than the mutt quote_regexp default ("^([ \t]*[|>:}#])+" on Debian jessie), but matches what we have in View.pm. I prefer the stricter quote detection since it is less ambiguous and less likely to hide/obscure important details.
-rw-r--r-- | lib/PublicInbox/SearchIdx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index ae890605..25452dae 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -184,7 +184,7 @@ sub add_message { $part->body_set(''); my @lines = split(/\n/, $body); while (defined(my $l = shift @lines)) { - if ($l =~ /^\s*>/) { + if ($l =~ /^>/) { push @quot, $l; } else { push @orig, $l; |