SIGN IN SIGN UP
microsoft / autogen UNCLAIMED

A programming framework for agentic AI

0 0 57 Python

improve CODE_BLOCK_PATTERN for a more robust code match (#571)

* improve CODE_BLOCK_PATTERN for more robust match

* improve and add tests

* Add support for \r\n

* Updated the regex to support indented code blocks (per the Markdown spec). Added test cases for both.

* Update formatting

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
D
Dear.Va committed
d22664f7e79f0eb3dfdd0cbcc7c177b8f6f2dc77
Parent: 19c7da2
Committed by GitHub <noreply@github.com> on 11/21/2023, 5:06:56 AM