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

Feature request: Conditional multiple-rexpect #223

Open
luke-jr opened this issue Dec 9, 2022 · 1 comment
Open

Feature request: Conditional multiple-rexpect #223

luke-jr opened this issue Dec 9, 2022 · 1 comment

Comments

@luke-jr
Copy link
Contributor

luke-jr commented Dec 9, 2022

It would be nice to have a conditional rexpect that aborts if there isn't an immediate match. But due to the fuzziness of matching, it seems like it would be ideal to instead allow matching any of multiple possible screen regions, and either continue or exit with a given exit code based on which one matches first.

@sibson
Copy link
Owner

sibson commented Dec 11, 2022

Good idea.

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

No branches or pull requests

3 participants