tamtamchik/namecase

Combined La names are an issue

tamtamchik opened this issue · 3 comments

Andre LaMothe is converted to Andre Lamothe

@tamtamchik Hi, this is also similar to a name of: JoLyn, have you made fixes to this?

Custom RegEx:

// For: "AaAaa..", example name "laMothe" or "LaMothe" becomes proper as "LaMothe"
^([A-Za-z]{1}[a-z]{1})([A-Z]{1}[a-z][^A-Z]+\b)

@kevyworks thanks for your regexp! Can you please provide a real person with the name JoLyn? (Wikipedia is a great source for examples).

@tamtamchik Im sorry i forgot her last name, but its a valid name JoLyn. Im not using your library but I was searching for this, and this naming thing can't be standardized in anyway.. I have to do a modifiable UI for admins to set custom ignore such as this, like van, Vanderford, sometimes without modification it will do a vanDerford