Skip to content

Conversation

@AizazZaidee
Copy link

@AizazZaidee AizazZaidee commented Jun 19, 2019

In the BibTeXLibrary.Config.BeginCommentCharacters all the characters could be added that will be treated as comments and will be skipped. for example line starting with "%" in the following case.
Elements like month=feb # "~1" are valid and parseable.

% this is a comment
@misc{rydell1994bipolar,
month=feb # "~1",
title={Bipolar electrosurgical scalpel with paired loop electrodes},
author={Rydell, Mark A},
year={1994},
publisher={Google Patents},
note={US Patent 5,282,799}
}

…hout {

% this is a comment
@misc{rydell1994bipolar,
month=feb # "~1",
title={Bipolar electrosurgical scalpel with paired loop electrodes},
author={Rydell, Mark A},
year={1994},
publisher={Google Patents},
note={US Patent 5,282,799}
}
Copy link
Collaborator

@Blueve Blueve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add UnitTest for your fix?
There should be two cases need to be added:

  1. comment line supporting
  2. month=feb # "~1"


if (c == '@')
{
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are redundant spaces.

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

Successfully merging this pull request may close these issues.

3 participants