Skip to content

Commit

Permalink
parse authors with prefix 'ver' (close #196)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed Oct 21, 2021
1 parent cecc572 commit 7af1940
Show file tree
Hide file tree
Showing 4 changed files with 1,131 additions and 1,101 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## [v1.4.2]

- Add [#196]: parse authors with prefix 'ver'

## [v1.4.1]

- Fix [#195]: parse multinomials where authorshp is not separated by space.
Expand Down Expand Up @@ -305,6 +309,7 @@ array of names instead of a stream.

This document follows [changelog guidelines]

[v1.4.2]: https://github.com/gnames/gnparser/compare/v1.4.1...v1.4.2
[v1.4.1]: https://github.com/gnames/gnparser/compare/v1.4.0...v1.4.1
[v1.4.0]: https://github.com/gnames/gnparser/compare/v1.3.3...v1.4.0
[v1.3.3]: https://github.com/gnames/gnparser/compare/v1.3.2...v1.3.3
Expand Down
6 changes: 3 additions & 3 deletions ent/parser/grammar.peg
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ AuthorPrefix2 <- ('v.' (_? 'd.')?) / Apostrophe 't'

AuthorPrefix1 <- ('ab' / 'af' / 'bis' / 'da' / 'der' / 'des' / 'den' /
'della' / 'dela' / 'delle' / 'del' / 'de los' / 'de' / 'di' / 'dos' /
'du' / 'do' / 'el' / 'la' / 'le' / 'ten' / 'ter' / 'van' / 'd' Apostrophe /
'in' Apostrophe 't' / 'zur' / 'zu' / ('von' (_ ('d.'/ 'dem'))?) /
('v' (_'d')?)) &_
'du' / 'do' / 'el' / 'la' / 'le' / 'ten' / 'ter' / 'van' / 'ver' /
'd' Apostrophe / 'in' Apostrophe 't' / 'zur' / 'zu' /
('von' (_ ('d.'/ 'dem'))?) / ('v' (_'d')?)) &_

AuthorUpperChar <- UpperASCII / MiscodedChar /
[ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝĆČĎİĶĹ弾ŁłŅŌŐŒŘŚŜŞŠŸŹŻŽƒǾȘȚ]
Expand Down
Loading

0 comments on commit 7af1940

Please sign in to comment.