best-practice-and-impact / gptables

Good Practice Tables - an XlsxWriter wrapper to write consistently formatted statistical tables to Excel.
http://gptables.rtfd.io
Other
35 stars 4 forks source link

Cover page title cleaning uses greedy matching #138

Closed foster999 closed 3 years ago

foster999 commented 3 years ago

Describe the bug Pattern matching to remove annotation references ($$1$$) is greedy, so will remove all text between two annotation refs.

To Reproduce Use two or more annotation references in a title

Expected behavior Strip annotation references, but not text between then

foster999 commented 3 years ago

Fixed in #139