(text)
| 120 | |
| 121 | |
| 122 | def protect_float(text): |
| 123 | # Turns 3.14 into <3_f_14> to prevent splitting |
| 124 | return re.sub(r"(\d+)\.(\d+)", r"<\1_f_\2>", text) |
| 125 | |
| 126 | |
| 127 | def unprotect_float(text): |
nothing calls this directly
no outgoing calls
no test coverage detected