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

expose the Input trait #867

Closed
njskalski opened this issue Jun 9, 2022 · 2 comments
Closed

expose the Input trait #867

njskalski opened this issue Jun 9, 2022 · 2 comments
Labels

Comments

@njskalski
Copy link

I wanted to wire "Input" trait to ropey::Rope, but I get regex::prog is "private module". I can write patch myself, this is rather a question: is there a reason this is not enabled by default or just nobody needed it so far?

@BurntSushi BurntSushi changed the title pub regex::prog::InstEmptyLook? expose the Input trait Jun 9, 2022
@BurntSushi
Copy link
Member

The issue title here seems totally disconnected from the actual substance of the request. I've renamed the title...

Well, yes, there is a reason. It's not part of the public API and never will be.

For executing regexes on discontiguous text, see: #425

For longer term plans, see: #656

@BurntSushi
Copy link
Member

Closing this because the Input trait will actually be removed at some point and there really aren't enough details in this request to make it actionable. #425 is probably a better general ticket if the use case is to indeed do a regex search on discontiguous text.

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

No branches or pull requests

2 participants