abntex / biblatex-abnt

:books: Estilo para BibLaTeX compatível com as normas da ABNT
126 stars 27 forks source link

Replace xstring with l3regex #41

Closed moewew closed 5 years ago

moewew commented 5 years ago

xstring was only used in \iffieldendswithpunct which can be recreated with l3regex.

Cf. #39, #40.

moewew commented 5 years ago

I haven't checked extensively, but I would expect that thanks to biblatex's punctuation tracker, which works really hard to avoid double punctuation, you don't actually need \iffieldendswithpunct at all. Certainly for fields ending in ?, ! and .. I'm not too sure about /, but which field ends in /?

dbmrq commented 5 years ago

Fantstic, thank you! ❤️

When I’m back home I’ll check if I can completely remove the command.