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

Replace: Add support for generating longer strings #1060

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

som-sm
Copy link
Collaborator

@som-sm som-sm commented Feb 27, 2025

Similar to #1042 & #1046, this PR refactors Replace to leverage tail recursion, allowing it to replace upto 1000 characters.

@som-sm som-sm requested a review from sindresorhus February 27, 2025 05:43
@sindresorhus sindresorhus merged commit 3c03a0d into main Feb 27, 2025
12 checks passed
@sindresorhus sindresorhus deleted the fix/make-replace-tail-recursive branch February 27, 2025 14:31
@sindresorhus
Copy link
Owner

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants