Skip to content

Commit

Permalink
Update EmailParser.php
Browse files Browse the repository at this point in the history
fix usenet official signature: `^-- \n`
  • Loading branch information
glensc committed Feb 18, 2016
1 parent d60113c commit bce42fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EmailReplyParser/Parser/EmailParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class EmailParser
/**
* Regex to match signatures
*/
const SIG_REGEX = '/(?:^\s*--|^\s*__|^-\w|^-- )|(?:^Sent from my (?:\s*\w+){1,3})$/s';
const SIG_REGEX = '/(?:^\s*--|^\s*__|^-\w|^-- $)|(?:^Sent from my (?:\s*\w+){1,3})$/s';

const QUOTE_REGEX = '/>+$/s';

Expand Down

0 comments on commit bce42fe

Please sign in to comment.