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

Fixed regex functions #3

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Fixed regex functions #3

merged 1 commit into from
Jun 13, 2022

Conversation

0xn3va
Copy link

@0xn3va 0xn3va commented Jun 12, 2021

The regex functions did not work correctly with arguments. As a result, when you tried to write the following DSL expression:

regex(request, '\Asomethin\z')

the 'request' part was used as a regex expression and '\Asomethin\z' as a string for matching.

The regex_all and regex_any functions did not use the first argument.

@Mzack9999 Mzack9999 self-requested a review June 13, 2022 14:41
@Mzack9999 Mzack9999 added the bug Something isn't working label Jun 13, 2022
@Mzack9999 Mzack9999 merged commit 4b30366 into projectdiscovery:master Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants