Skip to content

Commit

Permalink
More volume/issue demix (#2241)
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann committed Oct 31, 2019
1 parent 9147f7a commit ee924fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -4832,7 +4832,8 @@ protected function volume_issue_demix($data, $param) {
$data = trim($data);
if (preg_match("~^(\d+)\s*\((\d+(-|–|\–|\{\{ndash\}\})?\d*)\)$~", $data, $matches) ||
preg_match("~^(?:vol\. |Volume |vol |)(\d+)[,\s]\s*(?:no\.|number|issue|Iss.|no )\s*(\d+(-|–|\–|\{\{ndash\}\})?\d*)$~i", $data, $matches) ||
preg_match("~^(\d+)\.(\d+)$~i", $data, $matches)
preg_match("~^(\d+)\.(\d+)$~i", $data, $matches) ||
preg_match("~^Vol\.?(\d+)\((\d+)\)$~", $data, $matches)
) {
$possible_volume=$matches[1];
$possible_issue=$matches[2];
Expand Down

0 comments on commit ee924fa

Please sign in to comment.