-
Notifications
You must be signed in to change notification settings - Fork 30
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, First, Suffix pattern is not parsed properly #18
Comments
(In general, this parser is the best one I've found; among other things, it's the only one that I've found that correctly handles mononyms. So i'd really love it if this could get fixed!) |
@wyrfel possibly I should tag you on this? You seem to be a maintainer! |
Hey @adrienne. Thanks for reporting the issue (and the nice feedback, btw). I'll look into it as soon as i can. |
@adrienne I was unable to reproduce the issue with with the I have also made a slight modification in this PR to allow the parsing of e.g. 'Jr.' as suffix instead of middle name in 'Tiptree, James Jr.'. Could you please make sure you are using the latest version and could you let me now if you have made any configuration changes, language changes or any other customisations? |
One common (if slightly archaic) way of listing names is as follows:
Lastname, Firstname (optional middle initial or name), Suffix
for example:
Tiptree, James, Jr.
which the parser parses as:
and
Miller, Walter M., Jr.
which the parser parses as:
Interestingly, if you remove the second comma, the names behave differently.
Tiptree, James Jr. still fails (it drops the suffix):
Miller, Walter M. Jr. correctly parses into firstname/initial/lastname/suffix, as shown:
So, definitely a few problems to fix here!
The text was updated successfully, but these errors were encountered: