From 4346451446d7574cf745608e2c8b0c4df6421d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20J=C3=A4ger?= Date: Sun, 19 Mar 2017 23:21:21 +0100 Subject: [PATCH] corrected issue #2652 --- .../java/org/jabref/model/entry/AuthorList.java | 17 +++++++++-------- .../jabref/model/entry/AuthorListParser.java | 6 +++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/jabref/model/entry/AuthorList.java b/src/main/java/org/jabref/model/entry/AuthorList.java index a58a220d7e6..4884e5f8ace 100644 --- a/src/main/java/org/jabref/model/entry/AuthorList.java +++ b/src/main/java/org/jabref/model/entry/AuthorList.java @@ -30,7 +30,7 @@ *
  • every comma separates tokens, while sequences of other separators are * equivalent to a single separator; for example: "a - b" consists of 2 tokens * ("a" and "b"), while "a,-,b" consists of 3 tokens ("a", "", and "b") - *
  • anything enclosed in braces belonges to a single token; for example: + *
  • anything enclosed in braces belongs to a single token; for example: * "abc x{a,b,-~ c}x" consists of 2 tokens, while "abc xa,b,-~ cx" consists of 4 * tokens ("abc", "xa","b", and "cx"); *
  • a token followed immediately by a dash is "dash-terminated" token, and @@ -38,7 +38,7 @@ * tokens "a" and "b" are dash-terminated and "c" and "d" are space-terminated; *
  • for the purposes of splitting of 'author name' into parts and * construction of abbreviation of first name, one needs definitions of first - * latter of a token, case of a token, and abbreviation of a token: + * letter of a token, case of a token, and abbreviation of a token: * - *
  • 'author name's in 'author field' are subsequences of tokens separated by + *
  • 'author names' in 'author field' are subsequences of tokens separated by * token "and" ("and" is case-insensitive); if 'author name' is an empty * sequence of tokens, it is ignored; for examle, both "John Smith and Peter * Black" and "and and John Smith and and Peter Black" consists of 2 'author @@ -71,11 +71,11 @@ * different from BiBTeX behavior); *
  • 'author name' consists of 'first-part', 'von-part', 'last-part', and * 'junior-part', each of which is a sequence of tokens; how a sequence of - * tokens has to be splitted into these parts, depends the number of commas: + * tokens has to be split into these parts, depends the number of commas: *