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

Multiple replace #8

Open
unclechu opened this issue May 17, 2019 · 1 comment
Open

Multiple replace #8

unclechu opened this issue May 17, 2019 · 1 comment

Comments

@unclechu
Copy link

Does this bot supports multiple replaces? Sometimes messages are big and have more than one typo, I tried something like s/foo/bar/ s/baz/bzz/ but the bot doesn't recognize this. Is there any way to do multiple replaces? If no then interpret this issue as a feature request.

@tulir
Copy link
Member

tulir commented May 23, 2019

Regex-wise, you can of course do it with s/foo(.+)baz/bar\1bzz/. Other than that, nothing is currently supported.

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

No branches or pull requests

2 participants