Skip to content

Commit b76eee1

Browse files
authored
Merge pull request #8 from Medaro/master
Add more common Prefixes
2 parents 21dbcb3 + 2b2cba2 commit b76eee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-names.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ var NameParse = (function(){
141141
NameParse.is_compound_lastName = function (word) {
142142
word = word.toLowerCase();
143143
// these are some common prefixes that identify a compound last names - what am I missing?
144-
var words = ['vere','von','van','de','del','della','di','da','pietro','vanden','du','st.','st','la','lo','ter'];
144+
var words = ['vere','von','van','de','del','della','di','da','pietro','vanden','du','st.','st','la','lo','ter', 'o', "o'", 'mac', 'fitz'];
145145
return (words.indexOf(word) >= 0);
146146
};
147147

0 commit comments

Comments
 (0)