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

Add re_is_anchored interface. #500

Merged
merged 1 commit into from
Oct 12, 2024
Merged

Add re_is_anchored interface. #500

merged 1 commit into from
Oct 12, 2024

Conversation

silentbicycle
Copy link
Collaborator

Putting this in its own PR, as requested.

enum re_is_anchored_res
re_is_anchored(enum re_dialect dialect, re_getchar_fun *f, void *opaque,
enum re_flags flags, struct re_err *err);

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ought to be exposed to re(1) as a CLI interface in a similar way to re_is_literal. Which means tests for the CLI tool, and manpage stuff too.

I'm going to 👍 this PR now, we can come back and add those in the future.

@katef katef merged commit 09a917a into main Oct 12, 2024
346 checks passed
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

Successfully merging this pull request may close these issues.

2 participants