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] substring matching #134

Open
petar-dambovaliev opened this issue Dec 16, 2021 · 1 comment
Open

[Question] substring matching #134

petar-dambovaliev opened this issue Dec 16, 2021 · 1 comment

Comments

@petar-dambovaliev
Copy link

Is there a way to match whether any of the values(strings) have a particular substring?

@BurntSushi
Copy link
Owner

Sure. You can use a regex like .*substring.*. But it won't be efficient. It will have the visit the entire automaton.

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