(text)
| 24 | |
| 25 | |
| 26 | def extract_code(text): |
| 27 | triple_match = re.search(r'```(?:\w+\n)?(.+?)```', text, re.DOTALL) |
| 28 | if triple_match: |
| 29 | return triple_match.group(1).strip() |
| 30 | single_match = re.search(r'`(.+?)`', text, re.DOTALL) |
| 31 | if single_match: |
| 32 | return single_match.group(1).strip() |
| 33 | return text |
| 34 | |
| 35 | |
| 36 | async def send_request_and_process_response(url, headers, data, type_name, process_response_func): |
nothing calls this directly
no outgoing calls
no test coverage detected