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

Support filtering parsed objects #54

Open
ekohl opened this issue Jul 21, 2023 · 0 comments
Open

Support filtering parsed objects #54

ekohl opened this issue Jul 21, 2023 · 0 comments

Comments

@ekohl
Copy link

ekohl commented Jul 21, 2023

Today JGrep.jgrep parses the input, but in voxpupuli/facterdb#282 I want to further refine results.

As a start I opened #53 so I could understand the API.

One option is to inspect the first argument and only parse it if it's a string, but I'm generally not a fan of those kind of APIs. Factoring it out to a smaller method is probably better.

Before I start I'd like to hear the opinions on this.

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

1 participant