If an article title ends with .) the comma that is supposed to follow isn't there. If there is only a closing parenthesis there is also the comma. See the screenshot below.
How can this be fixed? \DeclarePunctuationPairs{<identifier>}{<characters>} doen't work since parentheses are not allowed for the character part.
MWE:
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[french, english]{babel}
\usepackage[backend=biber,
bibstyle=ext-authoryear,
articlein=false,
]{biblatex}
\addbibresource{TEST-Bib-Sorting.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*{\newunitpunct}{\addcomma\space}
\newbibmacro*{pages}{
\printfield{pages}%
}
\DeclareFieldFormat[article]{title}{#1}
\DeclareBibliographyDriver{article}{%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
\setunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{title}%
\newunit\newblock
\iftoggle{bbx:articlein}{\usebibmacro{in:}}{}%
\usebibmacro{journal+issuetitle}%
\newunit
\usebibmacro{pages}%
\newunit\newblock
\usebibmacro{finentry}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{filecontents}{TEST-Bib-Sorting.bib}
@Article{Meunier:2012,
author = {Meunier, L. J.},
year = {2012},
title = {\foreignlanguage{english}{Ennius, les astres et les théories anciennes de la vision. À propos de \emph{Sol albus} et \emph{radiis icta lux} (v. 84–85 Sk.)}},
journal = {RPh},
volume = {86},
pages = {101–21},
}
@Article{Soubiran:1992,
author = {Soubiran, J.},
year = {1992},
title = {Mythologie et astronomie: la longue nuit de Jupiter et d’Alcmène (Plaute, Amph., 272–276)},
journal = {Pallas},
volume = {38},
pages = {345–58},
}
\end{filecontents}
\begin{document}
\nocite{*}
\printbibliography
\end{document}


.bibfile. Finding all of these cases would be a pain. – rsa-krypto Apr 11 '19 at 05:21