Open davmlaw opened 4 months ago
These were all straight forward regex except the js_tags change which I am 95% sure is right - @TheMadBug - can you make sure that is good?
@davmlaw yup, I ran that in iPython and can confirm that the new way is right (and I'm surprised the old way even ran on old Python)
internal change only - not user testable
Re-opening as can be tested in Shariant - This is in relation to finding OMIM, MONDO, PMID etc terms in text. The change is to be explicit in code about special characters in the search pattern (something that older Python’s would allow by default but newer versions wanted you to be explicit about). Can test by making sure citations still work, but pretty safe change.
Invalid escape sequences were Deprecated in 3.6 now Python 3.12 seems to get a bit angry about it, giving warnings:
This is probably just a matter of adding an "r" to the start, but need to test