Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last char of subject is ')' #41

Open
babaOlya opened this issue Aug 3, 2018 · 1 comment
Open

Last char of subject is ')' #41

babaOlya opened this issue Aug 3, 2018 · 1 comment

Comments

@babaOlya
Copy link

babaOlya commented Aug 3, 2018

If the last character of the message subject is ')', it is truncated when reading the subject property

@babaOlya
Copy link
Author

babaOlya commented Aug 3, 2018

I think to change the function StripComments to:

private static bool StripComments(ref string input)
{
var isSurroundedByComments = input.StartsWith("(") && input.EndsWith(")");
if(isSurroundedByComments){
input = input.Trim('(', ')');
}
return isSurroundedByComments;

    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant