seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
73 stars 38 forks source link

Using citation-format springer-lecture-notes-in-computer-science throws a warning #140

Open ThoWagen opened 1 year ago

ThoWagen commented 1 year ago

Please follow the general troubleshooting steps first:

Bug reports:

Usind the citation-format springer-lecture-notes-in-computer-science a warning is thrown by the ConsecutivePunctuationCharacterTrait.php

Warning: preg_match(): Unknown modifier '/' in /***/vendor/seboettg/citeproc-php/src/Styles/ConsecutivePunctuationCharacterTrait.php on line 46

Used CSL stylesheet:

springer-lecture-notes-in-computer-science.csl

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
{
       "type":   "book",
       "author":   [{
                        "given":   "Daniel R.",
                        "family":   "Langton"
                        }],
      "illustrator":   [{
                          "given":   "Daniel R.",
                          "family":   "Langton"
                          }],
      "issued":   {
                       "date-parts":   [["2019"]],
                       "literal":"2019"
                       },
      "number-of-pages":   "VI, 131 Seiten",
      "container-title":    "Studia Judaica",
      "ISBN":   "9783110659139",
      "ISSN":   "0585-5306",
      "publisher":    "De Gruyter",
      "publisher-place":    "Berlin",
      "title":    "Reform Judaism and Darwin : how engaging with evolutionary theory shaped American Jewish religion"
}
]