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

Fix regex for flags #80

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

felipesaezreyes
Copy link
Contributor

@felipesaezreyes felipesaezreyes commented Mar 11, 2024

Fixes regex to match one character flag options.

-mhe=5 wasn't matching the regex as it expects a minimum of 2 characters. Made the second character optional, which will allow single digit flag options

Related to #37

@ehsandeep ehsandeep requested a review from RamanaReddy0M March 12, 2024 15:27
@RamanaReddy0M RamanaReddy0M linked an issue Mar 13, 2024 that may be closed by this pull request
@RamanaReddy0M RamanaReddy0M removed a link to an issue Mar 13, 2024
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M left a comment

Choose a reason for hiding this comment

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

@RamanaReddy0M
Copy link
Contributor

#78 can be closed, compiled code is upto date here.
cc: @ehsandeep

@ehsandeep ehsandeep merged commit 5cbff15 into projectdiscovery:main Mar 13, 2024
@ehsandeep ehsandeep mentioned this pull request Mar 13, 2024
@felipesaezreyes felipesaezreyes deleted the fix-flags-regex branch March 13, 2024 21:12
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.

3 participants