Closed Xarvalus closed 6 years ago
Do you have any example revisions where pipes are used? Would be nice to link to them in the commit message.
This one was ours inspiration: Editing Dies irae (section).
Contains pipes in citations, similar form like these in the test code:
''Słownik muzyki'', red. Wojciech Marchwica, Wydawnictwo Zielona Sowa, Kraków 2006; **{{ISBN|83-7435-239-6}}**, **{{ISBN|978-83-7435-239-0}}**.. W [[Zwyczajna forma rytu rzymskiego|nowym obrządku]] nie jest już powszechnie używana (można ją wykonywać w ostatnim
You are right https://regex101.com/r/uekqPD/1, I have corrected the regex. Leftover of try with alternative |
matching.
Thanks for the pull request!
An ISBN regexp improvement allowing to extract more polluted citations like
902 198 84 X
,1-57488-530-8
, and{{ISBN|978-83-7435-239-0}}
ones.In colleague's work - he reported to extract 30-40% percentage more valid citations after the fix.
(Also contains minor code cleanup and fixes)