diff options
Diffstat (limited to 'bibtex.php')
-rw-r--r-- | bibtex.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ class BibtexParser $this->ENTRIES[$bibent]['id'] = strtolower($matches[2]); // e. g. $ENTRIES['pashev_2010_axiom']['entry'] = 'book' } - elseif (preg_match('/(\w+?)\s*=\s*(.*?)\s*,?$/u', $line, $matches)) + elseif (preg_match('/(\w+?)\s*=\s*(.*?)\s*,?\s*$/u', $line, $matches)) { $this->ENTRIES[$bibent][strtolower($matches[1])] = $matches[2]; /* e. g. |