Removed extra \cite
As mentioned in robindijkhof#70 there is a bug with the ´\cite´ regular expression. With this PR I removed the expression that is more complex and also selects the ",." and then subtitutes it. Here is an visualization of the wrong expression.
Hope you can merge this into master in time to tomorrows release.
This pr results in unit test failing. Therefore won't merge.
It solves the issue... Maybe the unit test is wrong
Added a link with the visualization of the expression removed to the first message. Here is the direct link too
I'm pretty sure the unittests are not wrong. You can try them yourself. The problem with your expression virtualization is that other regex replaces are executed before. So the input is probably different.