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

Allow Users to Search for Comments with Regex #76

Merged

Conversation

dluftspring
Copy link
Contributor

Description

Proposing a solution for #75 by adding a new input called body-regex.

Changes

One new method introduced isMatchedRegex to convert from a match array to boolean and then edits to the existing findCommentPredicate to make use of the input.

Other notes

Very open to feedback on styling and general flow here as I don't work much in typescript day-to-day. Once this gets the approval it needs i'll add an example to the repo README

@peter-evans
Copy link
Owner

Hi @dluftspring

Thank you for taking a stab at this feature. Before merging to main I'm going to merge to a feature branch and add some tests and a little refactoring.

@peter-evans peter-evans changed the base branch from main to body-regex November 29, 2022 01:55
@peter-evans peter-evans merged commit 66c9dbd into peter-evans:body-regex Nov 29, 2022
@peter-evans
Copy link
Owner

Released as v2.1.0 / v2

Thank you!

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.

None yet

2 participants