Project

General

Profile

Revision 8a56246d

ID8a56246de2fbf4e010d48b9cd9f6770402e32dd4
Parent d24cf23c
Child 9d20b400

Added by Andreas Müller about 4 years ago

rel #6057 further improvements for authors with accent grave

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/parser/NonViralNameParserImplRegExBase.java
93 93

  
94 94
    //AuthorString
95 95
    protected static String qm = "[" + UTF8.RIGHT_SINGLE_QUOT + "'`]";
96
    protected static String authorPart = "(" + "([OdDL]"+qm+"|[’']t|ten\\s||le\\s|zur\\s)?" + "(" + capital2charDotWord + "|DC.)" + "('" + nonCapitalDotWord + ")?" + "|[vV][ao]n(\\sder)?|da|du|de(n|l|\\sla)?)" ;
96
    protected static String authorPart = "(" + "([OdDL]"+qm+"|[’'`]t|ten\\s||le\\s|zur\\s)?" + "(" + capital2charDotWord + "|DC.)" + "(" + qm + nonCapitalDotWord + ")?" + "|[vV][ao]n(\\sder)?|da|du|de(n|l|\\sla)?)" ;
97 97
    protected static String author = "(" + authorPart + "(" + fWs + "|-)" + ")+" + "(f\\.|fil\\.|secundus)?" ;
98 98
    protected static String finalTeamSplitter = "(" + fWs + "(&)" + fWs + "|" + oWs + "et" + oWs + ")";
99 99
    protected static String notFinalTeamSplitter = "(?:" + fWs + "," + fWs + "|" + finalTeamSplitter + ")";

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)