Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: re.sub (r "<think>. *</hint>", "") cannot handle content wrapping #5223

Closed
jwen6118 opened this issue Feb 21, 2025 · 0 comments
Closed
Labels
question Further information is requested

Comments

@jwen6118
Copy link

Describe your problem

re.sub (r ". ", "") cannot handle content wrapping and needs to be added, flags=re.DOTALL, As shown below: re.sub(r".", "", flags=re.DOTALL)

@jwen6118 jwen6118 added the question Further information is requested label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant