Skip to content

Conversation

@mikkelking
Copy link

The existing regexes for middle names like 'ben', 'del', 'il' etc also fire at the beginning of the line,
so ben cousins => ben Cousins
and van johns => van Johns
This regex change fixes that

@compwright
Copy link

@mikkelking if you're parsing a full name like Ben Cousins, don't pass { individualFields: true } and it will work fine as-is.

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.

2 participants