Skip to content

D'Juan O'Connor does not parse properly #22

@lovelessX

Description

@lovelessX

Library Version
1.5.0

Describe the bug
D'Juan O'Connor

(Made up test name)

Actual & Expected behavior
What is your actual and expected result? Ideally, include code that can be copied & pasted directly into the test project

Expected result: FirstName: D'Juan, LastName: O'Connor, Nickname:
Actual result: FirstName: DConnor, LastName: , Nickname: JuanO

Applicability
Is your use-case unique, or is it likely to affect many other people?

This would affect any names with exactly 2 apostrophes that aren't nickname selectors.

Is there a general property of your input data that might help describe it or guide a resolution? (eg, input is guaranteed to have a first name; need to handle different last name prefixes than are standard)

Possibly need to cleanup the nickname logic to look for space apostrophe nickname apostrophe space instead of just sets of apostrophes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions